mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Fix applying font state to split view
This commit is contained in:
parent
8c6ce305e3
commit
cb3f4ba9f3
@ -13,7 +13,7 @@ Change Log
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fix an issue that the split view did not inherit the writing direction.
|
||||
- Fix an issue that the split view did not inherit the font style and the writing direction.
|
||||
- Fix an issue that the incompatible character pane did not show the message “No incompatible characters were found.” when all of the existing incompatible characters are cleared.
|
||||
|
||||
|
||||
|
@ -977,6 +977,8 @@ final class DocumentViewController: NSSplitViewController, ThemeHolder, NSTextSt
|
||||
// copy textView states
|
||||
if let baseTextView = baseViewController?.textView, let textView = editorViewController.textView {
|
||||
textView.font = baseTextView.font
|
||||
textView.usesAntialias = baseTextView.usesAntialias
|
||||
textView.ligature = baseTextView.ligature
|
||||
textView.theme = baseTextView.theme
|
||||
textView.tabWidth = baseTextView.tabWidth
|
||||
textView.isAutomaticTabExpansionEnabled = baseTextView.isAutomaticTabExpansionEnabled
|
||||
|
Loading…
Reference in New Issue
Block a user