# Prose.CaretDeparture enum

Namespace: [Grasshopper2](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
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.

## Values

| Name | Value | Description |
| --- | --- | --- |
| None | 0 | The key press does its work inside the current context. |
| Prev | 1 | Left at the start: land at the end of the previous context. |
| Next | 2 | Right at the end: land at the start of the next context. |
| Above | 3 | Up: land at the same horizontal position in the context above. |
| Below | 4 | Down: land at the same horizontal position in the context below. |
| PrevDelete | 5 | Backspace at the start: like [Prose.CaretDeparture.Prev](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose.caretdeparture.md), but with destructive intent. |
| NextDelete | 6 | Delete at the end: like [Prose.CaretDeparture.Next](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose.caretdeparture.md), but with destructive intent. |
