aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.iface
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-04-13 04:55:04 +0000
committernyamatongwe <unknown>2001-04-13 04:55:04 +0000
commit3e36fa6f3ea27bb64ce42bdd1a5b50b52dc6bb04 (patch)
tree72f9058f86ae76bf8d6131a4e80d87549b4770ad /include/Scintilla.iface
parentc9925ce492d3ea61e692769c2733d69eed133993 (diff)
downloadscintilla-mirror-3e36fa6f3ea27bb64ce42bdd1a5b50b52dc6bb04.tar.gz
Start of new lexer infrastructure.
Lexers can have a fold function as well as a lexer function. They can be identified by string name as well as an integer ID and may ask to be automatically assigned that ID.
Diffstat (limited to 'include/Scintilla.iface')
-rw-r--r--include/Scintilla.iface6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 97f183ffc..be9468184 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1102,6 +1102,9 @@ set void SetProperty=4004(string key, string value)
# Set up the key words used by the lexer.
set void SetKeyWords=4005(int keywordSet, string keyWords)
+# Set the lexing language of the document based on string name.
+set void SetLexerLanguage=4006(, string language)
+
# Notifications
# Type of modification and the action which caused the modification
# These are defined as a bit mask to make it easy to specify which notifications are wanted.
@@ -1174,6 +1177,9 @@ val SCLEX_CONF=17
val SCLEX_PASCAL=18
val SCLEX_AVE=19
val SCLEX_ADA=20
+# When a lexer specifies its language as SCLEX_AUTOMATIC it receives a
+# value assigned in sequence from SCLEX_AUTOMATIC+1.
+val SCLEX_AUTOMATIC=1000
# Lexical states for SCLEX_PYTHON
val SCE_P_DEFAULT=0
val SCE_P_COMMENTLINE=1