Le 28/08/2015 09:42, Jean-Marc Lasgouttes a écrit :
Le 22/07/2015 12:05, Jean-Marc Lasgouttes a écrit :
Now for something different... I have been annoyed by the looks of
InsetNewLine for some time now. The following patch replaces the
horrible hand-made arrow with a nice Unicode character.
Not only that, but you have 3 different characters to play with!
Can you imagine a funnier activity that trying out this patch and
giving feedback?
JMarc
PS: I know that I broke the weird 'break but keep justified'
symbol. In any case, if we keep this patch, it is better to
actually keep the row justified rather to indicate this with a
cryptic sign.
Here is a new version of the patch. Is that OK for master? Note that
I have not changed anything related to on-screen justification
(yet!).
First, thank you, it sure looks better than hand-drawn lines. Have you
considered the following characters:
⮐ U+2B90 RETURN LEFT
⮑ U+2B91 RETURN RIGHT
⮒ U+2B92 NEWLINE LEFT
⮓ U+2B93 NEWLINE RIGHT
which seem to be made for this purpose exactly? It should be easy to
supply a fallback font if the user do not have them, so that it looks
better than U+2936 in all cases.
Also, I do not find the reversed the arrow intuitive for "break but keep
justified". I agree that justifying the last line is more intuitive than
the previous "cryptic" symbol (return + rightarrow). It remains to
decide what to do in the case where "on-screen justification" is
disabled. In that case, other than the old return+rightarrow, one could
"justify" only the return character, that is to say aligning it to the
right.
Anyway, I have not written this particular patch yet, and I do not
know when I will have time to do so. We'll discuss it again then.
In the meanwhile, we could have either right-aligned return as suggested
above, or the previous return+rightarrow symbol, either of which would
need to be implemented anyway for when on-screen justification is
disabled (if you agree that the reversed symbol is not good).
Guillaume