aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2003-02-17 10:18:35 +0000
committernyamatongwe <devnull@localhost>2003-02-17 10:18:35 +0000
commita7e1847a4b0e067949d8f67acab39cf061f90190 (patch)
treee0529bd623791624aee9b34698ce3e26cd2e25d3 /src
parentf31022d57124aded1067dff205c4d65dfcc7c5aa (diff)
downloadscintilla-mirror-a7e1847a4b0e067949d8f67acab39cf061f90190.tar.gz
Modes (autocompletion, calltip) are cancelled when changing buffers.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx1
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;