Review Request: Introduce KoTextRange instead of inline characters
C. Boemann
cbr at boemann.dk
Mon Oct 22 10:38:22 BST 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106983/
-----------------------------------------------------------
Review request for Calligra.
Description
-------
Using inline characters for things like anchors, bookmarks, annotations, softbreaks means that the inlinecharacter show up like invisible characters.
This is very undesirably, and prone to all kinds of bugs. Qt has a clas that already handles this mostly correctly: QTextCursor. We just need to put our own handling on top.
This up our requirement to qt 4.7 because we need a special feature, and there is even a bug in that feature i had to work around for the time being.
I suspect lots of changes is needed before it's mergable, and expect a thorough review by interested parties
Diffs
-----
libs/kotext/CMakeLists.txt 8c7d976
libs/kotext/KoBookmark.h 3591e9d
libs/kotext/KoBookmark.cpp c8045fe
libs/kotext/KoBookmarkManager.h 08006ce
libs/kotext/KoBookmarkManager.cpp b2a4ea3
libs/kotext/KoInlineTextObjectManager.h 56ce7cd
libs/kotext/KoInlineTextObjectManager.cpp e82664d
libs/kotext/KoText.h 6eb02ab
libs/kotext/KoTextDebug.cpp 24cb4a0
libs/kotext/KoTextDocument.h 76d0a5e
libs/kotext/KoTextDocument.cpp 9e8727b
libs/kotext/KoTextEditor.h 67458e7
libs/kotext/KoTextEditor.cpp 0c5463d
libs/kotext/KoTextInlineRdf.cpp eaf0ff7
libs/kotext/KoTextRange.h PRE-CREATION
libs/kotext/KoTextRange.cpp PRE-CREATION
libs/kotext/KoTextRangeManager.h PRE-CREATION
libs/kotext/KoTextRangeManager.cpp PRE-CREATION
libs/kotext/commands/DeleteCommand.h 036914b
libs/kotext/commands/DeleteCommand.cpp d95b806
libs/kotext/opendocument/KoTextLoader.cpp e373785
libs/kotext/opendocument/KoTextWriter_p.cpp 7667d8e
libs/kotext/tests/TestKoBookmarkManager.h 131eea7
libs/kotext/tests/TestKoBookmarkManager.cpp 24d27f8
libs/kotext/tests/TestKoInlineTextObjectManager.h 21c6ff9
libs/kotext/tests/TestKoInlineTextObjectManager.cpp 0c606b9
libs/kotext/tests/TestKoTextEditor.cpp dde79cd
libs/main/rdf/KoDocumentRdf.cpp dfbaf09
libs/main/tests/TestKoDocumentRdf.cpp 8fb279c
libs/main/tests/rdf_test.h 778fcbb
libs/main/tests/rdf_test.cpp 7550d3f
libs/textlayout/KoPointedAt.h 0924f0d
libs/textlayout/KoPointedAt.cpp ac6c88a
libs/textlayout/KoTextDocumentLayout.h ee317d0
libs/textlayout/KoTextDocumentLayout.cpp ee6f31c
libs/textlayout/KoTextLayoutArea.cpp b184b79
libs/textlayout/ToCGenerator.h 674a413
libs/textlayout/ToCGenerator.cpp b7585ef
plugins/textshape/TextShape.h 75e985c
plugins/textshape/TextShape.cpp 574c493
plugins/textshape/TextShapeFactory.cpp 7e8d7b6
plugins/textshape/TextTool.cpp be9f2eb
plugins/textshape/dialogs/BibliographyPreview.h 05d4560
plugins/textshape/dialogs/BibliographyPreview.cpp e555121
plugins/textshape/dialogs/SimpleParagraphWidget.cpp 7246f7a
plugins/textshape/dialogs/TableOfContentsPreview.h ede723a
plugins/textshape/dialogs/TableOfContentsPreview.cpp 1f24270
words/part/KWDocument.h 16a760c
words/part/KWDocument.cpp ac734be
words/part/KWView.cpp 65f6165
words/part/frames/KWTextFrameSet.cpp 35f4d8e
words/part/tests/TestKoBookmark.h 3620385
words/part/tests/TestKoBookmark.cpp cfb65bc
words/part/tests/TestRdf.cpp b1cf93c
Diff: http://git.reviewboard.kde.org/r/106983/diff/
Testing
-------
Thanks,
C. Boemann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20121022/43a2992c/attachment.htm>
More information about the calligra-devel
mailing list