D28968: [KRichTextEdit] Make sure headings don't mess with undo stack
    Igor Poboiko 
    noreply at phabricator.kde.org
       
    Sat Apr 18 23:54:41 BST 2020
    
    
  
poboiko created this revision.
poboiko added reviewers: Frameworks, dfaure.
Herald added a project: Frameworks.
poboiko requested review of this revision.
REVISION SUMMARY
  This patch ensures that everything related to headings is undoable
  with a single `Ctrl+Z`. It also adds tests for the following use cases
  (ensuring those are undoable with a single `undo` command):
  
  1. Make line a heading
  2. Creating a newline after a heading
  3. Merging a heading and non-heading line with `Delete` key
  4. The same, with `Backspace` key
TEST PLAN
  `make && ctest`
REPOSITORY
  R310 KTextWidgets
BRANCH
  heading-undo-stack (branched from master)
REVISION DETAIL
  https://phabricator.kde.org/D28968
AFFECTED FILES
  autotests/krichtextedittest.cpp
  src/widgets/krichtextedit.cpp
To: poboiko, #frameworks, dfaure
Cc: kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200418/23bc7a2a/attachment.html>
    
    
More information about the Kde-frameworks-devel
mailing list