Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
5.10.1, 5.11.1
-
None
Description
I stumbled upon a use case where i would like to add text in a new color at the end of my document without losing or repainting my selection or scrolling in case of isBottom.
This is basically what append does. But if i want to change my new textcolor with setTextColor I repaint my selection.
My suggestion is to add a param to the append function so that we can choose a new charformat directly.
On another note: The append function should get an option to skip the insertBlock so that one can conveniently use it to insert text without newline at the end of the document without having to add a lot of code to emulate the append behaviour.
Attachments
Issue Links
- relates to
-
QTBUG-1470 When inserting html that has an aligned paragraph, it does not always respect the alignment of the paragraph
-
- Closed
-