With word wrap enabled, new trailing spaces are not wrapped #1361

Closed
opened 2013-03-14 22:08:00 +01:00 by marijnh · 6 comments
marijnh commented 2013-03-14 22:08:00 +01:00 (Migrated from gitlab.com)
  1. Open http://codemirror.net/demo/indentwrap.html
  2. Add spaces at the end of line 3, enough to cause wrapping

Actual: Line is not wrapped, horizontal scrollbar appears.
Expected: Line should wrap. Sublime Text has different wrapping behavior, but I'm not entirely convinced that it's good. It breaks twice, once to wrap the span of spaces, then again at some seemingly arbitrary point to break the span in two.

1. Open http://codemirror.net/demo/indentwrap.html 2. Add spaces at the end of line 3, enough to cause wrapping Actual: Line is not wrapped, horizontal scrollbar appears. Expected: Line should wrap. Sublime Text has different wrapping behavior, but I'm not entirely convinced that it's good. It breaks twice, once to wrap the span of spaces, then again at some seemingly arbitrary point to break the span in two.
marijnh commented 2013-03-14 22:12:32 +01:00 (Migrated from gitlab.com)

mentioned in merge request !10255

mentioned in merge request !10255
marijnh commented 2013-03-15 14:46:31 +01:00 (Migrated from gitlab.com)

It should be noted this behaves correctly in Firefox currently (but not Chrome).

It should be noted this behaves correctly in Firefox currently (but not Chrome).
marijnh commented 2013-03-15 17:05:49 +01:00 (Migrated from gitlab.com)

This is another symptom of #1362

This is another symptom of #1362
marijnh (Migrated from gitlab.com) closed this issue 2013-03-15 17:05:49 +01:00
marijnh commented 2013-03-15 23:44:34 +01:00 (Migrated from gitlab.com)

mentioned in issue #3145

mentioned in issue #3145
marijnh commented 2021-08-29 21:47:09 +02:00 (Migrated from gitlab.com)

mentioned in issue #2915

mentioned in issue #2915
marijnh commented 2021-08-29 21:52:48 +02:00 (Migrated from gitlab.com)

mentioned in issue #2955

mentioned in issue #2955
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
codemirror/codemirror5#1361
No description provided.