diff options
| author | nyamatongwe <devnull@localhost> | 2005-03-09 03:34:46 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2005-03-09 03:34:46 +0000 |
| commit | 693e547da376d8790fbdcdf228c9d57810ec9f46 (patch) | |
| tree | 526577481daf6dbee2aeb0142d9baa8c3b97e117 /src/AutoComplete.cxx | |
| parent | ce0de36921c21505d141fb6a21a9f671b56e9529 (diff) | |
| download | scintilla-mirror-693e547da376d8790fbdcdf228c9d57810ec9f46.tar.gz | |
Patch from Blair McGlashan to send a notification before accepting an autocompletion.
Diffstat (limited to 'src/AutoComplete.cxx')
| -rw-r--r-- | src/AutoComplete.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/AutoComplete.cxx b/src/AutoComplete.cxx index b4d14944f..65b1788bb 100644 --- a/src/AutoComplete.cxx +++ b/src/AutoComplete.cxx @@ -118,9 +118,10 @@ void AutoComplete::SetList(const char *list) { } } -void AutoComplete::Show() { - lb->Show(); - lb->Select(0); +void AutoComplete::Show(bool show) { + lb->Show(show); + if (show) + lb->Select(0); } void AutoComplete::Cancel() { |
