Improves helder
This commit is contained in:
@@ -284,7 +284,7 @@ final class CodeEditorController: NSObject, NSTextViewDelegate, NSLayoutManagerD
|
||||
private func applyWrap(_ on: Bool) {
|
||||
guard wrap != on else { return }
|
||||
wrap = on
|
||||
scrollView.hasHorizontalScroller = !on
|
||||
scrollView.hasHorizontalScroller = false
|
||||
textView.isHorizontallyResizable = !on
|
||||
container.widthTracksTextView = on
|
||||
textView.autoresizingMask = on ? [.width] : []
|
||||
|
||||
Reference in New Issue
Block a user