Greg Smith:
> While on the subject of Call tips, I was puzzled by some code in SciTE.
>
> In SciTEBase::CharAdded(), there is the code:
>
> if ((selEnd == selStart) && (selStart > 0)) {
> int style = SendEditor(SCI_GETSTYLEAT, selStart - 1, 0);
> if (style != 1) { etc...
>
> Is this an attempt to not apply autocompletion, call tips and indents in
> comments?
It is in the very first version in CVS. I think you are right about
the intent but that was back in the days when the main languages were
C++ and Python which have style 1 for the main type of comment.
Its deleted in CVS now.
Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest