diff options
author | nyamatongwe <unknown> | 2004-04-25 22:55:40 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2004-04-25 22:55:40 +0000 |
commit | 1a266a22443b49427e49a3dfedb2f1c84a4ca401 (patch) | |
tree | f6e028baa5627c42801548fe9aefa933893cc70b | |
parent | 1c7fbec8e3ad955cbff3a1821f2eb39897f6e73d (diff) | |
download | scintilla-mirror-1a266a22443b49427e49a3dfedb2f1c84a4ca401.tar.gz |
Extra state for AU3 lexer.
Updated comments.
-rw-r--r-- | include/SciLexer.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/SciLexer.h b/include/SciLexer.h index f2384d433..5c8307a59 100644 --- a/include/SciLexer.h +++ b/include/SciLexer.h @@ -725,6 +725,7 @@ #define SCE_AU3_OPERATOR 8 #define SCE_AU3_VARIABLE 9 #define SCE_AU3_SENT 10 +#define SCE_AU3_PREPROCESSOR 11 #define SCE_APDL_DEFAULT 0 #define SCE_APDL_COMMENT 1 #define SCE_APDL_COMMENTBLOCK 2 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 765360d15..29101fb64 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -70,6 +70,7 @@ ## Client code should ignore definitions containing types it does not understand, except ## for possibly #defining the constants +## Line numbers and positions start at 0. ## String arguments may contain NUL ('\0') characters where the calls provide a length ## argument and retrieve NUL characters. All retrieved strings except for those retrieved ## by GetLine also have a NUL appended but client code should calculate the size that @@ -88,7 +89,7 @@ val SCI_START=2000 val SCI_OPTIONAL_START=3000 val SCI_LEXER_START=4000 -# Add text to the document. +# Add text to the document at current position. fun void AddText=2001(int length, string text) # Add array of cells to document. @@ -103,7 +104,7 @@ fun void ClearAll=2004(,) # Set all style bytes to 0, remove all folding information. fun void ClearDocumentStyle=2005(,) -# The number of characters in the document. +# Returns the number of characters in the document. get int GetLength=2006(,) # Returns the character byte at the position. @@ -2465,6 +2466,7 @@ val SCE_AU3_STRING=7 val SCE_AU3_OPERATOR=8 val SCE_AU3_VARIABLE=9 val SCE_AU3_SENT=10 +val SCE_AU3_PREPROCESSOR=11 # Lexical states for SCLEX_APDL lex APDL=SCLEX_APDL SCE_APDL_ val SCE_APDL_DEFAULT=0 |