1999-11-30 06:59:39 -08:00
|
|
|
(* Various indexes
|
|
|
|
canvas
|
|
|
|
entry
|
|
|
|
listbox
|
|
|
|
*)
|
|
|
|
|
|
|
|
type canvas_index = [
|
2000-04-02 18:57:52 -07:00
|
|
|
| `Num of int
|
|
|
|
| `End
|
|
|
|
| `Insert
|
|
|
|
| `Selfirst
|
|
|
|
| `Sellast
|
|
|
|
| `Atxy of int * int
|
1999-11-30 06:59:39 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
type entry_index = [
|
2000-04-02 18:57:52 -07:00
|
|
|
| `Num of int
|
1999-11-30 06:59:39 -08:00
|
|
|
| `End
|
2000-04-02 18:57:52 -07:00
|
|
|
| `Insert
|
|
|
|
| `Selfirst
|
|
|
|
| `Sellast
|
|
|
|
| `At of int
|
1999-11-30 06:59:39 -08:00
|
|
|
| `Anchor
|
|
|
|
]
|
|
|
|
|
|
|
|
type listbox_index = [
|
2000-04-02 18:57:52 -07:00
|
|
|
| `Num of int
|
1999-11-30 06:59:39 -08:00
|
|
|
| `Active
|
|
|
|
| `Anchor
|
|
|
|
| `End
|
2000-04-02 18:57:52 -07:00
|
|
|
| `Atxy of int * int
|
1999-11-30 06:59:39 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
type menu_index = [
|
2000-04-02 18:57:52 -07:00
|
|
|
| `Num of int
|
1999-11-30 06:59:39 -08:00
|
|
|
| `Active
|
|
|
|
| `End
|
2000-04-02 18:57:52 -07:00
|
|
|
| `Last
|
|
|
|
| `None
|
|
|
|
| `At of int
|
|
|
|
| `Pattern of string
|
1999-11-30 06:59:39 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
type text_index = [
|
2000-04-02 18:57:52 -07:00
|
|
|
| `Linechar of int * int
|
|
|
|
| `Atxy of int * int
|
1999-11-30 06:59:39 -08:00
|
|
|
| `End
|
2000-04-02 18:57:52 -07:00
|
|
|
| `Mark of string
|
|
|
|
| `Tagfirst of string
|
|
|
|
| `Taglast of string
|
|
|
|
| `Window of any widget
|
|
|
|
| `Image of string
|
1999-11-30 06:59:39 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
type linechar_index = int * int
|
|
|
|
type num_index = int
|