diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2022-05-18 19:35:01 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2022-05-18 19:35:01 +1000 |
commit | cc60845e2e6ae075254e56a1ca2e488b43e131df (patch) | |
tree | 2a8fc64181dbacb8e30e96deedd6d43d16bd9e41 /cocoa/ScintillaCocoa.mm | |
parent | 8fefa3eec812cab9d07ff37ce04cb3d6ba70f29c (diff) | |
download | scintilla-mirror-cc60845e2e6ae075254e56a1ca2e488b43e131df.tar.gz |
Bug [#2329] Place autocompletion lists and calltips on a higher window level
so they can be seen when invoked from a modal dialog.
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index f24157daf..64435ac32 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -1176,7 +1176,7 @@ void ScintillaCocoa::CreateCallTipWindow(PRectangle rc) { styleMask: NSWindowStyleMaskBorderless backing: NSBackingStoreBuffered defer: NO]; - [callTip setLevel: NSFloatingWindowLevel]; + [callTip setLevel: NSModalPanelWindowLevel+1]; [callTip setHasShadow: YES]; NSRect ctContent = NSMakeRect(0, 0, rc.Width(), rc.Height()); CallTipView *caption = [[CallTipView alloc] initWithFrame: ctContent]; |