[Libreoffice-bugs] [Bug 132891] Typing before a formatted word does not formatting but it does when word is at beginning of the line

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 27 11:19:13 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=132891

--- Comment #5 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Heiko Tietze from comment #4)
> Could imagine users expect the formatting to stay when typing at the
> beginning likewise at the end. So unless there is a good reason not to do
> so, let's change this.

Just a second! Anything "before formatting" - which is not at the beginning of
a paragraph - is also "after formatting". The text looks like this:

[<empty property set>text of 1st span ][<bold>bold text of 2nd
span][<italic>text of 3rd span]...

And so, if you consider a place *after* a formatting as to continue previous
formatting, then you need to realize that place just before 2nd span is *after*
1st span, and necessarily continues its (empty - in this specific case - but
anyway) formatting.

When you have a span starting at the very beginning of the paragraph, there's
no previous span to continue.

So - "let's change this" is a bit too quick.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200527/e74b6749/attachment.htm>


More information about the Libreoffice-bugs mailing list