Use tab key for column alignment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Currently, the tab key does not insert a tab character
when in text edit mode. If you paste from an external
source, it is displayed as a newline. Using the text
editor dialog, you can enter tabs and they are
displayed as a single space.
The SVG spec requires that tab characters in text
elements be converted to a single space character. In
other words, tabs are irrelevant to SVG documents.
Yet in practice, tabbing can be a handy way of doing
certain kinds of layout, such as getting text aligned
in columns, or getting bulletted or numbered lists to
look right. Currently you can work around the lack of
tab support by breaking up the text into separate text
elements and carefully aligning each of them manually.
It would be nice if Inkscape made use of tab for doing
automatic text layout. Since tab characters are
ignored anyway, this gives a huge amount of freedom in
how it could be done. One idea would be to allow the
user to place 'tab stops' on the ruler, and then when
the user hits tab while editing text, kerning is used
to position the next character to the right to match up
with that stop (an issue would be what happens if the
user moves the text...)
tags: | added: aligning shortcuts text |
Changed in inkscape: | |
status: | Confirmed → Triaged |
I can only agree, using tab to do formatting is a nice idea