OK, I’ve finally had more time to try to work on the language, but I’m a little confused, I’ve been studying http://docs.activestate.com/komodo/8.5/udl.html#udl_introduction, however it says
For each family, we currently need to specify the style from scintilla.iface that the family will use.
Example:
start_style CSL_DEFAULT end_style CSL_REGEX
This isn’t surprising, as the code in scintilla.iface
reads like so:
# Template: client-side language # Start at 30 val SCE_UDL_CSL_DEFAULT=30 val SCE_UDL_CSL_COMMENT=31 val SCE_UDL_CSL_COMMENTBLOCK=32 val SCE_UDL_CSL_NUMBER=33 val SCE_UDL_CSL_STRING=34 val SCE_UDL_CSL_WORD=35 val SCE_UDL_CSL_IDENTIFIER=36 val SCE_UDL_CSL_OPERATOR=37 val SCE_UDL_CSL_REGEX=38
However I found Scintilla.iface in the Komodo source code on Github, here:
And I searched the whole document, the keywords like SSL_DEFAULT, CSL_DEFAULT, etc., do not show up anywhere in that file. Then I tried to use a keyword like so:
state IN_CSL_DEFAULT
'#' : paint(upto, CSL_DEFAULT), => SCE_C_PREPROCESSOR
Because the help doc makes it sound like we can use the style keywords from the Scintilla.iface file, but it just errors out saying “Style SCE_UDL_SCE_C_PREPROCESSOR is unknown.”