text styles: applying one to the whole layer reaches a trailing empty paragraph

take_paragraph_style went through para_span, which leaves out the empty paragraph after a final newline, so its list style stayed as it was and the layer did not fold back to one list. The whole-layer path now addresses every paragraph by index; para_span's selection semantics are unchanged.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Trevor BrownandClaude Fable 5.1 committed 2026-11-05 17:21:18 -05:00
1 parent 2e331ecd70
commit 0d1801db93
1 file changed
+1137 -1109
+1137 -1109
View File
File diff suppressed because it is too large. Load diff