From 3c095a33afcc26b078ecc86eae649ed39ef2f63b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 17 Feb 2003 10:18:35 +0000 Subject: Modes (autocompletion, calltip) are cancelled when changing buffers. --- src/Editor.cxx | 1 + 1 file changed, 1 insertion(+) 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(pdoc); case SCI_SETDOCPOINTER: + CancelModes(); SetDocPointer(reinterpret_cast(lParam)); return 0; -- cgit v1.2.3