[pluma] text autohyphenated on word wrap with pango >1.43
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pluma (Ubuntu) |
New
|
Wishlist
|
Unassigned |
Bug Description
pluma - Version 1.24.0
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
Expected behaviour:
Word wrap never adds anything to text, even when a string of characters with no whitespace must be split to enable wrap, and no matter what the line of characters contains
Actual behaviour:
If a line of text does not contain enough whitespace to respect "do not split words across two lines" and is split at a sequence a hyphen is inserted at the end of that line of text. Even if there is enough whitespace there will be stray hyphens every now and then. This can seriously confusing coding, a common use case for pluma. If you disable "do not split words across two lines" you will now see autohyphenation at the end of ANY wrapped line of text
Workaround is to resize the window large enough to display the entire line of text, or disable word wrap.
Core of the problem:
This is more fallout from Pango's auto-hyphenation "feature" which is enabled by default and has to be explicitly turned off:
https:/
This also has been a problem in caja, fixed by
https:/
and
https:/
Autohyphenation does not belong in a code-editor and should at least be optional, not mandatory.
description: | updated |
description: | updated |
description: | updated |
tags: |
added: focal removed: pluma |
no longer affects: | ubuntu-mate |
Changed in pluma (Ubuntu): | |
importance: | Undecided → Wishlist |
some more info, probably helpful: /gitlab. gnome.org/ GNOME/gedit/ -/issues/ 365 /gitlab. gnome.org/ GNOME/gtk/ -/issues/ 2530
https:/
https:/