diff options
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 2fce53ded..6bd9d4c32 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -2450,6 +2450,17 @@ void ScintillaCocoa::ActiveStateChanged(bool isActive) } } +//-------------------------------------------------------------------------------------------------- + +/** + * When the window is about to move, the calltip and autcoimpletion stay in the same spot, + * so cancel them. + */ +void ScintillaCocoa::WindowWillMove() { + AutoCompleteCancel(); + ct.CallTipCancel(); +} + // If building with old SDK, need to define version number for 10.8 #ifndef NSAppKitVersionNumber10_8 #define NSAppKitVersionNumber10_8 1187 |