Set KTextEditor text even if in read-only mode
There is a limitation of KTextEditor: If the editor is read-only,
no text can be set. Therefore, temporarily lift read-only status
to actually set text, then restore previous read-only status.
thomasfischer | Feb 25 2019, 4:42 PM |