Plain text editing generates extra breaks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Low
|
David Mathog |
Bug Description
1. multi-line text modified using the Text and Font dialog some operations result in extra "\n" symbols in the plain text representation, breaking lines that should not break.
2. The plain text representation contains two "\n" symbols per expected line break.
To see the first problem.
1. start inkscape
2. enter some multine line text ("one\ntwo\nthree")
3. shift-control T to open the Text and Font dialog
4. Using the text select tool select the "w" in two and change it to italics
Result, the text preview picks up an extra EOL character. In the Text and Font dialog each time that happened the dialog became taller.
To see the second problem just examine the text in the preview window, the spacing is, for the preceding example:
"one\n\
The attached patch resolves both issues.
Changed in inkscape: | |
assignee: | nobody → David Mathog (mathog) |
status: | Confirmed → In Progress |
The patch changes_ 2014_03_ 11b_texteditonl y.patch is also included in the patch changes_ 2014_03_ 11b_textdecorat eonly.patch for bug #1269206