dfaure requested changes to this revision. dfaure added inline comments. This revision now requires changes to proceed.
INLINE COMMENTS > krichtextedit.cpp:572 > setHeadingLevel(0); > - } > - > - // If a line was merged with previous one, with different heading level, > - // the style should also be adjusted accordingly (i.e. merged) > - if ((event->key() == Qt::Key_Backspace) || (event->key() == > Qt::Key_Delete)) { > - setHeadingLevel(textCursor().blockFormat().headingLevel()); > + textCursor().endEditBlock(); > } Where is the corresponding beginEditBlock()? REPOSITORY R310 KTextWidgets REVISION DETAIL https://phabricator.kde.org/D28968 To: poboiko, #frameworks, dfaure Cc: kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns