summaryrefslogtreecommitdiff
path: root/external/poppler/Module_poppler.mk
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2024-06-14 23:21:00 +0200
committerLászló Németh <nemeth@numbertext.org>2024-06-15 02:13:36 +0200
commit41916d9fb045654fa19b4eac90a3099550a890f7 (patch)
treeaa2c818ce5a886faafa3b3ece64e2efef0821c79 /external/poppler/Module_poppler.mk
parent9e00fa69fabbde8b9ff5a08a9ffc02a322cc7445 (diff)
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/poppler/Module_poppler.mk')
0 files changed, 0 insertions, 0 deletions