diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-09-19 18:48:47 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-09-19 18:48:47 +1000 |
commit | b709843ae66a4348746d6a54114c99dd00ebdb74 (patch) | |
tree | 37d59a8f561577478f4fc60255bb7e5789bdd43d /src/editors.adb | |
parent | 395e2de5b0d834091637820fc04d731721c771b7 (diff) |
All File/Edit functions working, just need to add Search/About menu stuff
Diffstat (limited to 'src/editors.adb')
-rw-r--r-- | src/editors.adb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/editors.adb b/src/editors.adb index 42b89ed..74ae629 100644 --- a/src/editors.adb +++ b/src/editors.adb @@ -35,7 +35,7 @@ package body Editors is (W, H : in Integer) return Editor_Window is begin - return Create (0, 0, W, H, "AdaPad"); + return Create (0, 0, W, H, "(Untitled)"); end Create; @@ -71,6 +71,15 @@ package body Editors is + procedure Undo + (This : in out Editor_Window) is + begin + This.Editor.Undo; + end Undo; + + + + procedure Cut (This : in out Editor_Window) is begin |