is a line height possible ? #2292
Replies: 1 comment 1 reply
-
|
No, unfortunately there is no change. In plain text mode the line height setting is still ignored by the layout engine in the Qt library. The only thing I can do is move the editor back to being a rich text editor, but that comes with some significant performance issues if you have large documents, like entire novels in a single file, which some people do. The main bottleneck with the rich text editor, aside from being redundant because the content is plain text, is with the spell checker. If I could find a better way to implement spell checking, switching back to using a rich text editor for the main editing area wouldn't be such a big deal. The bottleneck arises from a bad implementation in the Qt library for refreshing the syntax highlighting (which also does spell checking) once a document is already open. It does so line by line, triggering a document layout refresh for each line, so for a large document it can take several minutes to complete. If they fix that, going back to a rich text editor is doable. So there are 3 possible solutions, but for the time being neither is possible. The old solution was to simply disable spell checking for large documents. But that's not very nice for the users who like to put novels in single documents. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Novelwriter as is is a wonderful tool and thank you for that but...
How complicated would it be to make line height a setting ? I find the current default, non editable line height a tad too compressed and would preferred more space between each of the text I'm writing or editing.
My dream desired setting : "enter your desired line-height: [(value)]"
My realistic desired setting: "choose the line height : 1 [ ] 1.15 [ ] 1.5 [ ] 2 [ ]
Has QT changed since this previous discussion : #653 ?
thanks in advance
Baudouin
Beta Was this translation helpful? Give feedback.
All reactions