John Salerno wrote:
Generally speaking, is there a way I can peak under the hood to see
what the lexer is doing for Python?
Sure - use the source, John! :)
BTW, the "braces" functionality is handled by the Scintilla client
(SciTE in this case) - not internally or by lexers (although the
lexers do set the styles that can limit the chars checked for brace
matching).
I'm confused by some things.
Specifically, I don't understand how to turn brace matching off, nor
what all the different properties that involve braces do.
I commented out all of the following:
braces.check=1
braces.sloppy=1
# Operators
style.python.10=bold
# Matched Operators
style.python.34=fore:#0000FF,bold
style.python.35=fore:#FF0000,bold
# Braces are only matched in operator style
braces.python.style=10
Yet still brace matching was working! I'm not sure if this is a bug or
if there are more options to change.
Generically speaking, commenting out a "x=1" property setting will
only have the desired effect if the internal [SciTE] default is 0.
You might want to force these values to 0 yourself to be sure (yes,
the docs say that braces.check defaults to 0, but...).
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest