Comment 4 for bug 167647

Revision history for this message
Tovrstra (tovrstra) wrote : Re: 0.44pre2: newlines in text problem

cyreve: Thank you cor your comments. Now I understand what
is going on.

I first tought about this possible solution:

Add xml:space="preserve" temporarly while the user is
editing the text, and revert this setting to the original
setting when the text box loses its focus.

This is not a complete solution (e.g. newlines and double
spaces), but it would at least allow the user to add words
that are separated by a single space.

One could also add an inkscape preference option whether or
not to automatically convert a <text>...</text> to a
<text><tspan sodipodi:role="line">...</tspan></text> when
the user starts editing that text item. hardcore svg hackers
would probably turn off this option, but I believe that it
is not a bad idea to turn it on by default?