Adjust the margin of the editor area

This commit is contained in:
1024jp 2021-12-10 15:26:08 +09:00
parent 3ef6698477
commit 29b082eb4b
3 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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"
}
},
{

View File

@ -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() }