i've changed what u said and nothing change .. the $ stay grey

*# White space
style.cpp.0=
# style.cpp.0=fore:#808080*
# Comment: /* */.
style.cpp.1=$(colour.code.comment.box),$(font.code.comment.box)
# Line Comment: //.
style.cpp.2=$(colour.code.comment.line),$(font.code.comment.line)
# Doc comment: block comments beginning with /** or /*!
style.cpp.3=$(colour.code.comment.doc),$(font.code.comment.doc)
# Number
style.cpp.4=$(colour.number)
# Keyword
style.cpp.5=$(colour.keyword),bold
# Double quoted string
style.cpp.6=$(colour.string)
# Single quoted string
style.cpp.7=$(colour.char)
# UUIDs (only in IDL)
style.cpp.8=fore:#804080
# Preprocessor
style.cpp.9=$(colour.preproc)
# Operators
style.cpp.10=$(colour.operator),bold
# Identifiers
style.cpp.11=

and this

word.chars.cxx=$(chars.alpha)$(chars.numeric)_#
word.characters.$(file.patterns.cpp)=$(word.chars.cxx)
word.characters.$(file.patterns.cs)=$(word.chars.cxx)
*word.characters.*.mel=$(word.chars.cxx)$*

Thanks for ur help!

Philippe Lhoste wrote:
Daniel Goupil wrote:
The only thing I need is the same thing as the cpp properties file but variable that begins with $ ... my c++ skill is not good enough to compile my own.... anyone want to modify the c++ lexer to make a melscript (.mel) .... the only difference is the $ for the variable ?

In this case, a simple workaround is to set the style.cpp.0 (Whitespace and unknown chars, including $) to the same style as style.cpp.11 (Identifiers).
And add this line:
word.characters.*.mel=$(word.chars.cxx)$



_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to