the current lexer "props" does not offer the ability to colour the left and the right side of an assignment differently. SCE_PROPS_DEFAULT is used for both.
here is as an html export of what i am talking about: http://www.hartwork.org/public/scintilla_props_idea.html below are the three steps needed to enable this. sebastian --------------------------------------------------------- File modified * scintilla/src/LexOthers.cxx Files extended * scite/src/others.properties * scintilla/include/Scintilla.iface =========================================================== == LexOthers.cxx, line 605 =========================================================== [-] styler.ColourTo(startLine + i - 1, SCE_PROPS_DEFAULT); [-] styler.ColourTo(startLine + i, SCE_PROPS_ASSIGNMENT); [-] styler.ColourTo(endPos, SCE_PROPS_DEFAULT); [+] styler.ColourTo(startLine + i - 1, SCE_PROPS_LEFT); [+] styler.ColourTo(startLine + i, SCE_PROPS_ASSIGNMENT); [+] styler.ColourTo(endPos, SCE_PROPS_RIGHT); =========================================================== == others.properties, line 37 =========================================================== # Left style.props.5= # Right style.props.6=fore:#3030FF =========================================================== == Scintilla.iface, line 2102 =========================================================== val SCE_PROPS_LEFT=5 val SCE_PROPS_RIGHT=6 _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
