Lexer interface

1 view
Skip to first unread message

pasha19

unread,
Nov 2, 2009, 3:24:25 PM11/2/09
to scintilla-interest, d.sh...@att.net
I understand a single lexer such as C can also handle languages like C+
+ and java. Is it possible for the colorize code to get the "language
name" for the data the lexer is currently processing?

Neil Hodgson

unread,
Nov 3, 2009, 3:00:48 AM11/3/09
to scintilla...@googlegroups.com
pasha19:

> I understand a single lexer such as C can also handle languages like C+
> + and java.  Is it possible for the colorize code to get the "language
> name" for the data the lexer is currently processing?

There is no 'language name' in Scintilla. A container may implement
a language concept through setting lexer, keywords, and properties in
Scintilla.

Neil

Reply all
Reply to author
Forward
0 new messages