diff options
| author | nyamatongwe <unknown> | 2001-04-27 12:41:50 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2001-04-27 12:41:50 +0000 | 
| commit | 47c3e67c26e19f237bab42d3a98019add82bb4b5 (patch) | |
| tree | 5a17afae1b3e4d7fd6770f78a5b818ec55cc0997 /src/AutoComplete.h | |
| parent | 9701edb696cc54ae66f1e10fb6e946df1426f71a (diff) | |
| download | scintilla-mirror-47c3e67c26e19f237bab42d3a98019add82bb4b5.tar.gz | |
Feature from Stephan to allow autocompletion to stay open even when there
are no longer any values that start with the typed text.
Diffstat (limited to 'src/AutoComplete.h')
| -rw-r--r-- | src/AutoComplete.h | 17 | 
1 files changed, 9 insertions, 8 deletions
| diff --git a/src/AutoComplete.h b/src/AutoComplete.h index 294b58bd6..79d467529 100644 --- a/src/AutoComplete.h +++ b/src/AutoComplete.h @@ -24,20 +24,21 @@ public:  	int startLen;  	/// Should autocompletion be canceled if editor's currentPos <= startPos?  	bool cancelAtStartPos; -	 +	bool autoHide; +  	AutoComplete();  	~AutoComplete();  	/// Is the auto completion list displayed?  	bool Active(); -	 +  	/// Display the auto completion list positioned to be near a character position  	void Start(Window &parent, int ctrlID, int position, int startLen_); -	 +  	/// The stop chars are characters which, when typed, cause the auto completion list to disappear  	void SetStopChars(const char *stopChars_);  	bool IsStopChar(char ch); -	 +  	/// The fillup chars are characters which, when typed, fill up the selected word  	void SetFillUpChars(const char *fillUpChars_);  	bool IsFillUpChar(char ch); @@ -45,16 +46,16 @@ public:  	/// The separator character is used when interpreting the list in SetList  	void SetSeparator(char separator_);  	char GetSeparator(); -	 +  	/// The list string contains a sequence of words separated by the separator character  	void SetList(const char *list); -	 +  	void Show();  	void Cancel(); -	 +  	/// Move the current list element by delta, scrolling appropriately  	void Move(int delta); -	 +  	/// Select a list element that starts with word as the current element  	void Select(const char *word);  }; | 
