SCLEX_TEX does syntax highlight incorrectly

8 views
Skip to first unread message

missdeer

unread,
Nov 9, 2009, 7:27:33 AM11/9/09
to scintilla-interest
I'm using the latest scintilla source code from CVS HEAD. There are 2
lexers for TeX code , SCLEX_TEX and SCLEX_LATEX. I have tested both,
found that SCLEX_TEX could not highlight TeX code but does folding
perfectly, and SCLEX_LATEX could highlight correctly but with no
folding enabled.
How can I edit the TeX code with correct highlighting and folding
margin enabled, and which lexer should I use? Thanks!

Neil Hodgson

unread,
Nov 10, 2009, 4:33:12 PM11/10/09
to scintilla...@googlegroups.com
missdeer:

I don't use TeX myself. SCLEX_TEX is the default for SciTE and is
more recent code.

Neil

missdeer

unread,
Nov 11, 2009, 1:20:30 AM11/11/09
to scintilla-interest
Thanks Neil.
I have read tex.properties, found that there are 4 extra properties
should be set for SCLEX_TEX, after then all are OK.

On Nov 11, 5:33 am, Neil Hodgson <nyamaton...@gmail.com> wrote:
> missdeer:
Reply all
Reply to author
Forward
0 new messages