See discussion on kwrite-devel about the behavior difference to KTextEditor.
Obsolete now that we use the same engine.