diff options
author | nyamatongwe <unknown> | 2003-02-17 10:18:35 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-02-17 10:18:35 +0000 |
commit | 3c095a33afcc26b078ecc86eae649ed39ef2f63b (patch) | |
tree | e0529bd623791624aee9b34698ce3e26cd2e25d3 | |
parent | ce812aa6046b4dfee328751452666ee74a40e8e9 (diff) | |
download | scintilla-mirror-3c095a33afcc26b078ecc86eae649ed39ef2f63b.tar.gz |
Modes (autocompletion, calltip) are cancelled when changing buffers.
-rw-r--r-- | src/Editor.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 9e5e76ea0..cc650525a 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -6037,6 +6037,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { return reinterpret_cast<sptr_t>(pdoc); case SCI_SETDOCPOINTER: + CancelModes(); SetDocPointer(reinterpret_cast<Document *>(lParam)); return 0; |