diff options
| author | chinhster <unknown> | 2017-11-09 09:04:57 +1100 | 
|---|---|---|
| committer | chinhster <unknown> | 2017-11-09 09:04:57 +1100 | 
| commit | c199f158a0a2a6b38c492ac417c700b90c802f0e (patch) | |
| tree | 0ae84b1109e59c83b0600864d43172e9425c7709 | |
| parent | 57a581f6bc86f11ca668e23b1e9ea66c4e23f9ba (diff) | |
| download | scintilla-mirror-c199f158a0a2a6b38c492ac417c700b90c802f0e.tar.gz | |
Close autocompletion list for escape and delete on macOS 10.13 as the window
was emptying but stayed visible.
| -rw-r--r-- | cocoa/PlatCocoa.mm | 2 | ||||
| -rw-r--r-- | doc/ScintillaHistory.html | 5 | 
2 files changed, 6 insertions, 1 deletions
| diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index 5c61b9c7b..a8ea02f57 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -1724,7 +1724,7 @@ void Window::Destroy() {  	if (wid) {  		id idWin = (__bridge id)(wid);  		if ([idWin isKindOfClass: [NSWindow class]]) { -			CFBridgingRelease(wid); +			[idWin close];  		}  	}  	wid = nullptr; diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 36039a5b4..71eb3896e 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -545,6 +545,11 @@  	by disabling animation on 10.13.  	</li>  	<li> +	Fix closing autocompletion lists on Cocoa for macOS 10.13 where the window +	was emptying but staying visible. +	<a href="http://sourceforge.net/p/scintilla/bugs/1981/">Bug #1981</a>. +	</li> +	<li>  	Fix Cocoa hang when Scintilla loaded from SMB share on macOS 10.13.  	<a href="http://sourceforge.net/p/scintilla/bugs/1979/">Bug #1979</a>.  	</li> | 
