mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Fix horizontal scroll when not wrapped (fix #973)
This commit is contained in:
parent
3a60003452
commit
2ef8cf1546
@ -2,6 +2,15 @@
|
||||
Change Log
|
||||
==========================
|
||||
|
||||
3.7.8 (unreleased)
|
||||
--------------------------
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fix an issue where the editor could not scroll horizontally under specific conditions.
|
||||
|
||||
|
||||
|
||||
3.7.7 (358)
|
||||
--------------------------
|
||||
|
||||
|
@ -122,6 +122,7 @@ final class EditorTextView: NSTextView, Themable, CurrentLineHighlighting, Multi
|
||||
|
||||
// setup layoutManager and textContainer
|
||||
let textContainer = TextContainer()
|
||||
textContainer.widthTracksTextView = true
|
||||
textContainer.isHangingIndentEnabled = defaults[.enablesHangingIndent]
|
||||
textContainer.hangingIndentWidth = defaults[.hangingIndentWidth]
|
||||
self.replaceTextContainer(textContainer)
|
||||
|
Loading…
Reference in New Issue
Block a user