mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-26 19:09:20 +00:00
In a document that is read only or open to comments only, an exception that starts a paragraph puts its start marker at the line start. Home, Left, Right from the line above and Down into an empty line leave the caret before that marker, outside the exception, so Enter and typing there were refused. An editable line right after a protected line could not be broken or typed into from its start. The same happened at the end of a line that an exception ends, where End leaves the caret after the end marker. Typing now moves a caret right before the start of an exception the author may edit to just inside it, and one right after its end back inside it, as Document::typing_pos already does for the markers of a block-level content control.