diff options
author | László Németh <nemeth@numbertext.org> | 2024-06-14 23:21:00 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2024-06-15 02:13:36 +0200 |
commit | 41916d9fb045654fa19b4eac90a3099550a890f7 (patch) | |
tree | aa2c818ce5a886faafa3b3ece64e2efef0821c79 /external/libassuan/ExternalPackage_libassuan.mk | |
parent | annot: support fill and line transparence for PDF annotations (diff) | |
download | core-master.tar.gz core-master.zip |
tdf#161563 sw: show "No Break" context menu only on a whole word
HEADmaster
It's possible to set CharNoHyphenation on shorter character sequences,
than a word, but the result is not correct (use soft hyphens for
alternative hyphenation within words), so limit "No Break" menu item
only for selected words. (Not completely, because only Point() is
checked for word boundary yet, not also Mark().) If no selection, cursor
position must be within the hyphenated word (where "No Break" applied
for the whole word automatically).
This fixes also the assert in SwTextFrame::IsInHyphenatedWord(),
when multiple nodes were selected.
Follow-up to commit 2f0c7d5691acd4010443856788a54b0abc03098b
"tdf#161563 tdf#161565 sw: add No Break to word context menu &
visualize".
Change-Id: I41b64e6a2eb0daf08f488420fc1eaba2045a28db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168898
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: Jenkins
Diffstat (limited to 'external/libassuan/ExternalPackage_libassuan.mk')
0 files changed, 0 insertions, 0 deletions