Fix input methods that depend on OpenKey, Unikey and similar software.

Fix flashing cursor on Windows! How this was not reported?!
Fix crash when closing ecode on Windows and tabs with same name where present.
This commit is contained in:
Martín Lucas Golini
2025-05-24 20:48:42 -03:00
parent d3667b55fd
commit dcea675e5b
10 changed files with 100 additions and 61 deletions

View File

@@ -742,6 +742,9 @@ UIMenu* SettingsMenu::createDocumentMenu() {
mApp->getConfig().workspace.sessionSnapshot = item->isActive();
} else if ( "allow_flash_cursor" == id ) {
mApp->getConfig().editor.flashCursor = item->isActive();
mSplitter->forEachEditor( [this]( UICodeEditor* editor ) {
editor->setEnableFlashCursor( mApp->getConfig().editor.flashCursor );
} );
} else if ( "tab_stops" == id ) {
mApp->getConfig().doc.tabStops = item->isActive();
mSplitter->forEachEditor( [this]( UICodeEditor* editor ) {