The journal groups a run of keystrokes into one step so that Ctrl+Z takes back a word rather
than a letter, and it cannot tell a keystroke from anything else: a field editor and a command
both record an org. against the same entry and field. So
the caller says which it is, and only typing is eligible to continue the step it lands on.
| Modifier and Type | Field and Description |
|---|---|
| public static final EditSource | COMMAND
One user action, recorded by whoever performed it. |
| public static final EditSource | TYPING
One keystroke of a run in a text editor, which the journal may fold into the step the
previous keystroke produced — see |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static EditSource | |
| public static EditSource[] |
| COMMAND | back to summary |
|---|---|
| public static final EditSource COMMAND One user action, recorded by whoever performed it. Never continues the step below it, and never invites the next change to continue it. The default. | |
| TYPING | back to summary |
|---|---|
| public static final EditSource TYPING One keystroke of a run in a text editor, which the journal may fold into the step the
previous keystroke produced — see | |
| EditSource | back to summary |
|---|---|
| private EditSource() | |
| valueOf | back to summary |
|---|---|
| public static EditSource valueOf(String name) | |
| values | back to summary |
|---|---|
| public static EditSource[] values() | |