sourceforge.net

Scintilla / Feature Requests / #1130 Visual Prolog properties and lexer update

  • ️Mon Jan 18 2016

Hi,

Thomas Linder Puls updated the Visual Prolog lexer, and I have made a corresponding SciTE .properties file.
The changes to the lexer are (1) better detection of numbers, and (2) removed 3 unused states.

I have attached sources. The sources should match the current repository state (based on 5786 888872b96b9d+ tip).

The relevant changes in scintilla.iface are as follows:

val SCE_VISUALPROLOG_DEFAULT=0
val SCE_VISUALPROLOG_KEY_MAJOR=1
val SCE_VISUALPROLOG_KEY_MINOR=2
val SCE_VISUALPROLOG_KEY_DIRECTIVE=3
val SCE_VISUALPROLOG_COMMENT_BLOCK=4
val SCE_VISUALPROLOG_COMMENT_LINE=5
val SCE_VISUALPROLOG_COMMENT_KEY=6
val SCE_VISUALPROLOG_COMMENT_KEY_ERROR=7
val SCE_VISUALPROLOG_IDENTIFIER=8
val SCE_VISUALPROLOG_VARIABLE=9
val SCE_VISUALPROLOG_ANONYMOUS=10
val SCE_VISUALPROLOG_NUMBER=11
val SCE_VISUALPROLOG_OPERATOR=12
val SCE_VISUALPROLOG_STRING=13
val SCE_VISUALPROLOG_STRING_ESCAPE=14
val SCE_VISUALPROLOG_STRING_ESCAPE_ERROR=15
val SCE_VISUALPROLOG_STRING_EOL_OPEN=16
val SCE_VISUALPROLOG_STRING_VERBATIM=17
val SCE_VISUALPROLOG_STRING_VERBATIM_SPECIAL=18
val SCE_VISUALPROLOG_STRING_VERBATIM_EOL=19

Best Regards,
Lars