aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <unknown>2009-10-27 00:03:30 +0000
committernyamatongwe <unknown>2009-10-27 00:03:30 +0000
commite57233bef4ef3a9d2ddcd2422fc40550cb7b13da (patch)
treebc59a48190f73bd0babbe041bccd423afea8f05d /include
parent724934ce40ba395acb774c9c67727dc056b9eac2 (diff)
downloadscintilla-mirror-e57233bef4ef3a9d2ddcd2422fc40550cb7b13da.tar.gz
Added GetLexerLanguage.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/Scintilla.iface4
2 files changed, 5 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index e9bba868c..c7d30ca3a 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -788,6 +788,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_GETPROPERTYEXPANDED 4009
#define SCI_GETPROPERTYINT 4010
#define SCI_GETSTYLEBITSNEEDED 4011
+#define SCI_GETLEXERLANGUAGE 4012
#define SC_MOD_INSERTTEXT 0x1
#define SC_MOD_DELETETEXT 0x2
#define SC_MOD_CHANGESTYLE 0x4
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 647506cf4..c524b7195 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -2097,6 +2097,10 @@ get int GetPropertyInt=4010(string key,)
# Retrieve the number of bits the current lexer needs for styling.
get int GetStyleBitsNeeded=4011(,)
+# Retrieve the name of the lexer.
+# Return the length of the text.
+get int GetLexerLanguage=4012(, stringresult text)
+
# 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.