From 29b082eb4b256d3b633b7a7a6d9aa880970860a3 Mon Sep 17 00:00:00 2001 From: 1024jp <1024jp@wolfrosch.com> Date: Fri, 10 Dec 2021 15:26:08 +0900 Subject: [PATCH] Adjust the margin of the editor area --- CHANGELOG.md | 3 ++- CotEditor.xcworkspace/xcshareddata/swiftpm/Package.resolved | 4 ++-- CotEditor/Sources/EditorTextView.swift | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dfaa756d4..c872fd56d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,10 +24,11 @@ Change Log - Change the behavior to include the last line in the calculation when specifying lines with a negative value in the Go to Line command or via AppleScript. - Make sure the application relaunches even other tasks interrupt before termination. - Update the Unicode block name list for the character inspector from Unicode 13.0.0 to Unicode 14.0.0. +- [trivial] Adjust the margin of the editor area. - [trivial] Hide the file extension of setting files by export by default. - [trivial] Finish key binding input in Key Bindings pane when another window becomes frontmost. - [dev] Update the build environment to Xcode 13.1 (Swift 5.5). -- [non-AppStore ver.] Update Sparkle to 2.0.0-beta.5. +- [non-AppStore ver.] Update Sparkle to 2.0.0-beta.6. ### Fixes diff --git a/CotEditor.xcworkspace/xcshareddata/swiftpm/Package.resolved b/CotEditor.xcworkspace/xcshareddata/swiftpm/Package.resolved index 5d6bbf89a..90e5e2b07 100644 --- a/CotEditor.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/CotEditor.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -6,8 +6,8 @@ "repositoryURL": "https://github.com/sparkle-project/Sparkle", "state": { "branch": null, - "revision": "1adbbccf5e465a11f52b2ebc5edf8115f6cf8831", - "version": "2.0.0-beta.5" + "revision": "831e9b4eb7e871a9c072469fb14049614fc92810", + "version": "2.0.0-beta.6" } }, { diff --git a/CotEditor/Sources/EditorTextView.swift b/CotEditor/Sources/EditorTextView.swift index e13c7a46a..0bb358446 100644 --- a/CotEditor/Sources/EditorTextView.swift +++ b/CotEditor/Sources/EditorTextView.swift @@ -89,7 +89,7 @@ final class EditorTextView: NSTextView, Themable, CurrentLineHighlighting, URLDe // MARK: Private Properties - private static let textContainerInset = NSSize(width: 0, height: 4) + private static let textContainerInset = NSSize(width: 4, height: 6) private let matchingBracketPairs: [BracePair] = BracePair.braces + [.doubleQuotes] private lazy var braceHighlightTask = Debouncer { [weak self] in self?.highlightMatchingBrace() }