helix-editor / helix

A post-modern modal text editor.
https://helix-editor.com
Mozilla Public License 2.0
32.84k stars 2.42k forks source link

Soft wrapping does a line break in the middle of ".," #11428

Open jeanas opened 1 month ago

jeanas commented 1 month ago

Summary

When soft wrapping is enabled and a comma follows a colon, Helix sometimes inserts a line break between the two, which looks weird. It should break after the comma instead.

Reproduction Steps

Enable soft wrapping (https://docs.helix-editor.com/editor.html#editorsoft-wrap-section), then enter text like this and resize the window:

soft-wrapping

Helix log

No relevant entries.

Platform

Linux (Fedora 40)

Terminal Emulator

GNOME Terminal

Installation Method

Fedora package

Helix Version

helix 24.7 (079f5442)

sicher commented 1 month ago

Maybe a duplicate of #6829 (see https://github.com/helix-editor/helix/issues/6829#issuecomment-1516155980)?