diff options
author | Attila Szűcs <szucs.attila3@nisz.hu> | 2022-05-27 13:12:27 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2022-06-07 19:28:48 +0200 |
commit | 8741fd0e0ae9e346de2e09887f0668b831c9b48b (patch) | |
tree | 97cf3bb7a883c9e119debe6678e0cca57bdf1faf /odk | |
parent | 5a079652c1b1f968a851f47995b0a65b84d2d192 (diff) |
tdf#43244 sw: show stripped line-end spaces on margin
in View->Formatting Marks mode instead of hiding them
This way it's possible to avoid interoperability issues
better, when these (now visible) spaces are stripped only
in Writer, but not in MSO, resulting different layout,
i.e. bad paragraph alignment, because the users can
notice the extra spaces and remove them in Writer.
Extend SwHolePortion::Paint() to paint its text,
what is probably just a bunch of spaces.
It's an initial fix for tdf#43100, tdf#120715 and tdf#104683
(cursor movement on the hidden spaces, end of paragraph sign
before the hidden spaces, unable to select spaces after the margin).
Follow-up to commit 93d7bdcb855362b88cdcfcb18ea401d89da973fb
"fdo#33167, i#20878: Show spaces at the end of line".
Co-authored-by: Tibor Nagy (NISZ)
Change-Id: I48df3b41af37c77fd594bb6776ca30e845c51490
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135104
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'odk')
0 files changed, 0 insertions, 0 deletions