BUGS: 312318 REVIEW: 108491 (cherry picked from commit d4869442) Conflicts: libs/kotext/KoTextEditor.h libs/kotext/KoTextEditor_format.cpp