diff --git a/CHANGELOG.md b/CHANGELOG.md index 21fb06bfa..d836b1654 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,7 @@ ### Improvements +- Change to disable the smart quotes option in the Mode settings by default. - Draw invisible symbols for invisible operators (U+2061, U+2062, U+2063, and U+2064). - Update the Lisp, Lua, Scheme, and Tcl syntaxes to update interpreters (thanks to Renfei!). - [non-AppStore ver.] Update Sparkle from 2.6.3 to 2.6.4. @@ -52,6 +53,7 @@ ### Fixes +- Fix an issue that a document kept in the Dock was not brought to the front on the reopen event even though no documents were displayed. - Fix the view layout in the Quick Action bar. - Fix a potential memory leak. diff --git a/CotEditor/Sources/AppDelegate.swift b/CotEditor/Sources/AppDelegate.swift index d06be4ffb..ae78201d7 100644 --- a/CotEditor/Sources/AppDelegate.swift +++ b/CotEditor/Sources/AppDelegate.swift @@ -301,9 +301,11 @@ private enum BundleIdentifier { // execute the action directly by self (2024-05, macOS 14). if !flag { (DocumentController.shared as? DocumentController)?.performOnLaunchAction(isReopen: true) + return false + } else { + // -> bring a document in the Dock to the front if any exists. + return true } - - return false } diff --git a/CotEditor/Sources/ModeOptions.swift b/CotEditor/Sources/ModeOptions.swift index da2c2af78..19017ab36 100644 --- a/CotEditor/Sources/ModeOptions.swift +++ b/CotEditor/Sources/ModeOptions.swift @@ -63,7 +63,7 @@ extension Syntax.Kind { ModeOptions( fontType: .standard, smartInsertDelete: true, - automaticQuoteSubstitution: true, + automaticQuoteSubstitution: false, automaticDashSubstitution: false, automaticSymbolBalancing: false, continuousSpellChecking: true,