This problem happens both with my own lexer, and with Scite out of the box.
Type the following into Scite:
a
if () {
}
The '}' must be on the last line or have just EOL after it. Select the two
lines from if to } and delete. You will be left with a spurious folding marker.
The marker is either - or + depending on whether the text ends at } or EOL.
I suspect that the problem is that the lexer is stopping one line short in this
situation. As this may well be a Scintilla problem, perhaps Neil could suggest
where to look to fix this.
Greg Smith
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest