diff options
author | nyamatongwe <unknown> | 2005-06-03 23:28:51 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2005-06-03 23:28:51 +0000 |
commit | 3729e5c1a48f20a790d488b70487b2b6c20dffeb (patch) | |
tree | cc69674ca7427baf06c320a7b817bf7caa035b7d /include | |
parent | 472a353e0f4d933ffaa745b4ef626855c50258fb (diff) | |
download | scintilla-mirror-3729e5c1a48f20a790d488b70487b2b6c20dffeb.tar.gz |
GetProperty* methods from Robert Roessler.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 3 | ||||
-rw-r--r-- | include/Scintilla.iface | 11 |
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. |