D14916: [ArtisticTextShape] Merge text ranges with same style

2018-08-21 Thread Anthony Fieroni
This revision was automatically updated to reflect the committed changes. Closed by commit R8:f5a88ba9040e: [ArtisticTextShape] Merge text ranges with same style (authored by anthonyfieroni). REPOSITORY R8 Calligra CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D14916?vs=40031&id=4014

D14916: [ArtisticTextShape] Merge text ranges with same style

2018-08-20 Thread Dag Andersen
danders accepted this revision. This revision is now accepted and ready to land. REPOSITORY R8 Calligra REVISION DETAIL https://phabricator.kde.org/D14916 To: anthonyfieroni, boemann, danders, #calligra:_3.0 Cc: Calligra-Devel-list, cochise, vandenoever

D14916: [ArtisticTextShape] Merge text ranges with same style

2018-08-20 Thread Anthony Fieroni
anthonyfieroni updated this revision to Diff 40031. REPOSITORY R8 Calligra CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D14916?vs=39955&id=40031 REVISION DETAIL https://phabricator.kde.org/D14916 AFFECTED FILES plugins/artistictextshape/ArtisticTextShape.cpp To: anthonyfieroni

D14916: [ArtisticTextShape] Merge text ranges with same style

2018-08-20 Thread Anthony Fieroni
anthonyfieroni added a comment. You are right, when i see docs > /// Appends plain text to the last text range > void appendText(const QString &plainText); REPOSITORY R8 Calligra REVISION DETAIL https://phabricator.kde.org/D14916 To: anthonyfieroni, boemann, danders, #calligra:_3

D14916: [ArtisticTextShape] Merge text ranges with same style

2018-08-19 Thread Dag Andersen
danders added a comment. Hmm, I assumed it only got in here when appending a text to a) an empty shape (no need for merging), b) at the end of an existing text, in which case using the the existing formatting of the last range should ok. I just can't see why using a defaultfont in this ca

D14916: [ArtisticTextShape] Merge text ranges with same style

2018-08-19 Thread Anthony Fieroni
anthonyfieroni added a comment. Basically we want to be unchanged, but when it merged, now, it does not have guaranteed that appending to last will be nor same behavior nor correct. REPOSITORY R8 Calligra REVISION DETAIL https://phabricator.kde.org/D14916 To: anthonyfieroni, boemann, da

D14916: [ArtisticTextShape] Merge text ranges with same style

2018-08-19 Thread Dag Andersen
danders added a comment. The change in appendText(const QString &text): The original appended to an existing range while you add a new range. I would think you could just leave the old code untouched, no? REPOSITORY R8 Calligra REVISION DETAIL https://phabricator.kde.org/D14916 To:

D14916: [ArtisticTextShape] Merge text ranges with same style

2018-08-17 Thread Anthony Fieroni
anthonyfieroni created this revision. anthonyfieroni added reviewers: boemann, danders, Calligra: 3.0. Herald added a project: Calligra: 3.0. Herald added a subscriber: Calligra-Devel-list. anthonyfieroni requested review of this revision. REPOSITORY R8 Calligra REVISION DETAIL https://phabri