aboutsummaryrefslogtreecommitdiff
path: root/src/actions.mli
blob: 9a59aa1cd7ee9242317d4d4002a95c1a81b318a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
type direction =
| Up of int
| Down of int
| Left of int
| Right of int
| Absolute of int * int

type modes =
| Normal
| Select
| Edit
| Command

type actions =
| Move of direction
| Escape
| Delete
| Yank
| Paste
| Search
| Undo
| Edit
| InsertFormula
| Visual
| Button1_clicked of (int * int)
| Button1_released of (int * int)
| Command
| Resize