Fix #2754: Shift+Enter inserts a soft return (forced line break)

In typography and Illustrator, Shift+Enter inserts a soft return (forced
line break) rather than ending the paragraph. Text wraps to the next line
without applying paragraph-level spacing (space before/after, first-line
indents), list continuation lines keep their parent item without repeating
markers, and justified text does not stretch lines ending with a soft return.

- Forward active modifier keys for Enter in ui-egui shortcuts so the tool
  detects Shift+Enter.
- Type tool inserts U+2028 (LINE SEPARATOR) on Shift+Enter.
- Text shaping and layout treat U+2028 as an invisible zero-advance control
  character, breaking the line in point and area type.
- Paragraph spacing and list markers apply once per paragraph as intended.
This commit is contained in:
Taha-Mahmoodi
2026-10-29 20:36:05 +07:00
committed by bflatastic
parent 569b1416dc
commit d89031848c
12 changed files with 123 additions and 19 deletions
File diff suppressed because one or more lines are too long
+2 -1
View File
File diff suppressed because one or more lines are too long