Prose.CaretDeparture

References
public enum Prose.CaretDeparture
The ways a key press can ask to leave a single-line text context: a plain movement or deletion which cannot be absorbed because the caret already sits at the boundary it points past, or a vertical step which a single line can never absorb. Whoever hosts the text decides whether a neighbouring context exists and what landing there means.

Enum values

NameValueDescription
None0The key press does its work inside the current context.
Prev1Left at the start: land at the end of the previous context.
Next2Right at the end: land at the start of the next context.
Above3Up: land at the same horizontal position in the context above.
Below4Down: land at the same horizontal position in the context below.
PrevDelete5Backspace at the start: like Prev, but with destructive intent.
NextDelete6Delete at the end: like Next, but with destructive intent.