Review Request: Fix loss of formatting when removing a link from a KRichTextEdit derived editor.

Jason Jackson jaxhoo at
Sat Apr 24 13:01:27 BST 2010

This is an automatically generated e-mail. To reply, visit:

(Updated 2010-04-24 12:01:27.156383)

Review request for kdelibs.


Completed the additional clean up items suggested by Raphael Kubo da Costa.


KRichTextEdit derived editors would remove all formatting when a link was removed from the text, not just the link related formatting. This patch allows the text to retain its non-link related formatting, and also cleans up the overall KRichTextEdit::updateLink method to make the logic a little simpler.

This addresses bug 234439.

Diffs (updated)

  /trunk/KDE/kdelibs/kdeui/tests/krichtextedittest.h 1116838 
  /trunk/KDE/kdelibs/kdeui/tests/krichtextedittest.cpp 1116838 
  /trunk/KDE/kdelibs/kdeui/widgets/krichtextedit.cpp 1116838 



Made a test case with a KRichTextEdit component to ensure the behavior was as expected.



More information about the kde-core-devel mailing list