blob: 63d154f20e04373710972a7a519bb6ca38a1a4b4 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
with FLTK.Enums; use FLTK.Enums;
package FLTK.Widgets.Groups.Text_Displays.Text_Editors is
type Text_Editor is new Text_Display with private;
function Create
(X, Y, W, H : in Integer;
Text : in String)
return Text_Editor;
procedure Undo
(This : in out Text_Editor);
procedure Cut
(This : in out Text_Editor);
procedure Copy
(This : in out Text_Editor);
procedure Paste
(This : in out Text_Editor);
procedure Delete
(This : in out Text_Editor);
procedure Remove_Key_Binding
(This : in out Text_Editor;
Key : in Shortcut_Key);
procedure Draw
(This : in out Text_Editor);
function Handle
(This : in out Text_Editor;
Event : in Event_Kind)
return Event_Outcome;
private
type Text_Editor is new Text_Display with null record;
overriding procedure Finalize
(This : in out Text_Editor);
end FLTK.Widgets.Groups.Text_Displays.Text_Editors;
|