> Florian Balmer: > > > What I've tried, moreover, is calling SCI_GETSTYLEAT for the brace in > > hope that this might somehow trigger the styling, as SciTE seems to do > > that through a WindowAccessor object (to check whether or not the > > brace is part of a multibyte character - can this happen, at all?). > > No, SCI_GETSTYLEAT is low-level dumb access to the styling buffer. > > > I found out that the problem only occurs if there's some text between > > the if() statement and the line commented with # (no matter of what > > style, also whitespace or newlines), > > The only way I can see this happening is if the '}' is after the > current screen.
By the current screen do you mean the range of currently visible lines? Does that mean that brace matching/highlighting can have problems if a match for one brace is not currently visible. This might be ok for purely highlighting (no sense in highlighting something you can't see) but in terms of finding a matching brace this could cause problems. > > Neil > _______________________________________________ > Scintilla-interest mailing list > [email protected] > http://mailman.lyra.org/mailman/listinfo/scintilla-interest _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
