aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-06-03 23:28:51 +0000
committernyamatongwe <devnull@localhost>2005-06-03 23:28:51 +0000
commitdf546440a47b65f89bd4ed81e511ac27bf47ddc6 (patch)
treecc69674ca7427baf06c320a7b817bf7caa035b7d /include
parent788f2fff04ce33f9c287b8cf79c5c51a90f9f1b4 (diff)
downloadscintilla-mirror-df546440a47b65f89bd4ed81e511ac27bf47ddc6.tar.gz
GetProperty* methods from Robert Roessler.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h3
-rw-r--r--include/Scintilla.iface11
2 files changed, 14 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index ca207bffb..49863a320 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -612,6 +612,9 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_SETKEYWORDS 4005
#define SCI_SETLEXERLANGUAGE 4006
#define SCI_LOADLEXERLIBRARY 4007
+#define SCI_GETPROPERTY 4008
+#define SCI_GETPROPERTYEXPANDED 4009
+#define SCI_GETPROPERTYINT 4010
#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 944a2f832..9193eeff1 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1658,6 +1658,17 @@ set void SetLexerLanguage=4006(, string language)
# Load a lexer library (dll / so).
fun void LoadLexerLibrary=4007(, string path)
+# Retrieve a "property" value previously set with SetProperty.
+fun int GetProperty=4008(string key, stringresult buf)
+
+# Retrieve a "property" value previously set with SetProperty,
+# with "$()" variable replacement on returned buffer.
+fun int GetPropertyExpanded=4009(string key, stringresult buf)
+
+# Retrieve a "property" value previously set with SetProperty,
+# interpreted as an int AFTER any "$()" variable replacement.
+get int GetPropertyInt=4010(string key,)
+
# 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.