diff options
| author | nyamatongwe <devnull@localhost> | 2005-03-25 05:08:19 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2005-03-25 05:08:19 +0000 |
| commit | 3891cd122f24ac1bd06197999036b6f2708ba7d0 (patch) | |
| tree | f2811fe3e1c71fffa02bcbe638546e2ffd42aee0 /include/Platform.h | |
| parent | da2b8dbcba956ae7c37f47e9e6017ae8ef4a00b8 (diff) | |
| download | scintilla-mirror-3891cd122f24ac1bd06197999036b6f2708ba7d0.tar.gz | |
Patch from Blair McGlashan for autocompletion on Windows to
* Set maximum width of list
* set maximum height of list
* better calculate width
* use ellipsis when text is truncated to fit window
* use popup window so it can extend past parent window
* disallow resizing too small
* draw to bottom edge when resized so last item not full line high
* improve time to display by by 90%
Minor tweaks by me to fix warnings, layout etc.
Diffstat (limited to 'include/Platform.h')
| -rw-r--r-- | include/Platform.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/Platform.h b/include/Platform.h index 5f74c8074..9ff15013c 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -393,9 +393,10 @@ public: static ListBox *Allocate(); virtual void SetFont(Font &font)=0; - virtual void Create(Window &parent, int ctrlID, int lineHeight_, bool unicodeMode_)=0; + virtual void Create(Window &parent, int ctrlID, Point location, int lineHeight_, bool unicodeMode_)=0; virtual void SetAverageCharWidth(int width)=0; virtual void SetVisibleRows(int rows)=0; + virtual int GetVisibleRows() const=0; virtual PRectangle GetDesiredRect()=0; virtual int CaretFromEdge()=0; virtual void Clear()=0; @@ -408,6 +409,7 @@ public: virtual void RegisterImage(int type, const char *xpm_data)=0; virtual void ClearRegisteredImages()=0; virtual void SetDoubleClickAction(CallBackAction, void *)=0; + virtual void SetList(const char* list, char separator, char typesep)=0; }; /** |
