aboutsummaryrefslogtreecommitdiff
path: root/actions.mli
blob: f955538f6113685eb6ec14bdf2e4e77abaf3c9c9 (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
| Resize            (* Resize event *)
| Escape
| Delete
| Yank
| Paste
| Search
| Undo
| Edit
| InsertFormula
| Visual
| Button1_clicked of (int * int)
| Button1_released of (int * int)
| Command