diff options
-rw-r--r-- | cocoa/PlatCocoa.mm | 2 | ||||
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 2 | ||||
-rw-r--r-- | doc/ScintillaHistory.html | 5 |
3 files changed, 7 insertions, 2 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index d139a4084..a105eafad 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -1952,7 +1952,7 @@ void ListBoxImpl::Create(Window & /*parent*/, int /*ctrlID*/, Scintilla::Interna styleMask: NSWindowStyleMaskBorderless backing: NSBackingStoreBuffered defer: NO]; - [winLB setLevel: NSFloatingWindowLevel]; + [winLB setLevel: NSModalPanelWindowLevel+1]; [winLB setHasShadow: YES]; NSRect scRect = NSMakeRect(0, 0, lbRect.size.width, lbRect.size.height); scroller = [[NSScrollView alloc] initWithFrame: scRect]; 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]; diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 6e89d2875..38d26e5fa 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -607,6 +607,11 @@ <a href="https://sourceforge.net/p/scintilla/bugs/2324/">Bug #2324</a>. </li> <li> + On Cocoa, place autocompletion lists and calltips on a higher window level so they can be seen + when invoked from a modal dialog. + <a href="https://sourceforge.net/p/scintilla/bugs/2329/">Bug #2329</a>. + </li> + <li> For Qt 6, fix "modified" signal when text is null but length non-0. <a href="https://sourceforge.net/p/scintilla/bugs/2328/">Bug #2328</a>. </li> |