mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-01 11:06:30 +03:00
Don't remove keybindings of formatter and linter plugins if any document is still open.
Converting from UTF8 now checks for BOM UTF8 strings.
This commit is contained in:
@@ -1282,10 +1282,9 @@ void LSPClientPlugin::onUnregister( UICodeEditor* editor ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( editor->hasDocument() ) {
|
||||
if ( editor->hasDocument() )
|
||||
for ( auto& kb : mKeyBindings )
|
||||
editor->getDocument().removeCommand( kb.first );
|
||||
}
|
||||
|
||||
{
|
||||
Lock lds( mDocSymbolsMutex );
|
||||
|
||||
Reference in New Issue
Block a user