> Chris Colman:
> 
> > By the current screen do you mean the range of currently visible
lines?
> 
>    Yes.
> 
> > Does that mean that brace matching/highlighting can have problems if
a
> > match for one brace is not currently visible.
> 
>    Brace matching depends on the text having correct style
> information. Styling is not normally performed on text that is not
> displayed. This does lead to some issues with offscreen matching but
> they are relatively rare.

Arh, this might be why I occasionally get problems with my 'check all
braces are matched' algorithm that uses the brace matching methods in
the API.

I don't understand why the 'find matching brace' methods would have
anything to do with text styling though. Isn't text styling just a
visual thing and finding a matching brace purely looking at the raw text
in the document? Obviously once a match is found we enter the styling
world when it comes to displaying that match as a highlight but I can't
see why the 'search' part would have anything to do with styling.

> 
>    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

Reply via email to