On Wednesday 16 December 2015 19:10:02 Fred van Stappen wrote:
> > > It seems that *if, case and friends* are not allowed in syntax
> > > highlighter (or i miss something).
> >
> > I don't understand.
>
> I want to say that "if" or "case" or conditions are not allowed in
> syntaxpainter-files. And to count the begin-end, a index will be needed and
> it seems that it is not possible in syntaxpainter-files. If I understood
> ok, that could be done by  tsyntaxpainter.
>
It is possible to use "if", "case", "begin"... as a "call token" in order to 
push another context on the stack with other keywords and colors. So in 
theory it is possible to assign different colours to begin/end pairs 
depending on the nesting level.

Martin

------------------------------------------------------------------------------
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to