diff options
author | nyamatongwe <unknown> | 2002-11-21 12:35:51 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2002-11-21 12:35:51 +0000 |
commit | 80a672aa76c64c58f5a7571879b83e1e44cd2db6 (patch) | |
tree | f3b69c94fcefff4ff2b0828a740940b9d0b96fb6 /include | |
parent | 882b4355011c56f17284981bab13ed74ed395284 (diff) | |
download | scintilla-mirror-80a672aa76c64c58f5a7571879b83e1e44cd2db6.tar.gz |
Patch from Biswa to add icons to autocompletion lists.
Diffstat (limited to 'include')
-rw-r--r-- | include/Platform.h | 4 | ||||
-rw-r--r-- | include/Scintilla.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/include/Platform.h b/include/Platform.h index 7e521d63b..53b1dfecc 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -377,6 +377,7 @@ private: WindowID list; WindowID scroller; int current; + void *pixhash; #endif int desiredVisibleRows; unsigned int maxItemCharacters; @@ -393,13 +394,14 @@ public: void SetVisibleRows(int rows); PRectangle GetDesiredRect(); void Clear(); - void Append(char *s); + void Append(char *s, int type = -1); int Length(); void Select(int n); int GetSelection(); int Find(const char *prefix); void GetValue(int n, char *value, int len); void Sort(); + void SetTypeXpm(int type, const char **xpm_data); void SetDoubleClickAction(CallBackAction action, void *data) { doubleClickAction = action; doubleClickActionData = data; diff --git a/include/Scintilla.h b/include/Scintilla.h index 7cc9c6aad..4fa58c481 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -243,6 +243,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_AUTOCGETAUTOHIDE 2119 #define SCI_AUTOCSETDROPRESTOFWORD 2270 #define SCI_AUTOCGETDROPRESTOFWORD 2271 +#define SCI_REGISTERIMAGE 2405 #define SCI_SETINDENT 2122 #define SCI_GETINDENT 2123 #define SCI_SETUSETABS 2124 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index d9f9c14f9..eea164f09 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -582,6 +582,9 @@ set void AutoCSetDropRestOfWord=2270(bool dropRestOfWord,) # after the inserted text upon completion. get bool AutoCGetDropRestOfWord=2271(,) +# Register an XPM image for use in autocompletion lists. +fun void RegisterImage=2405(int type, int xpmData) + # Set the number of spaces used for one level of indentation. set void SetIndent=2122(int indentSize,) |