summaryrefslogtreecommitdiff
path: root/src/adapad.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/adapad.adb')
-rw-r--r--src/adapad.adb14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/adapad.adb b/src/adapad.adb
index 50fbe8d..1f2c03d 100644
--- a/src/adapad.adb
+++ b/src/adapad.adb
@@ -232,9 +232,8 @@ package body Adapad is
-- callbacks for the find/replace windows
- overriding procedure Call
- (This : in Do_Find_Callback;
- Item : in String;
+ procedure Do_Find_CB
+ (Item : in String;
Match_Case : in Boolean)
is
Current_Position, Found_At : Natural;
@@ -248,14 +247,13 @@ package body Adapad is
else
FLTK.Dialogs.Alert ("No occurrences of '" & Item & "' found!");
end if;
- end Call;
+ end Do_Find_CB;
- overriding procedure Call
- (This : in Do_Replace_Callback;
- Item, Replace_With : in String;
+ procedure Do_Replace_CB
+ (Item, Replace_With : in String;
Match_Case, Replace_All : in Boolean)
is
Current_Position, Found_At : Natural;
@@ -285,7 +283,7 @@ package body Adapad is
else
FLTK.Dialogs.Alert ("No occurrences of '" & Item & "' found!");
end if;
- end Call;
+ end Do_Replace_CB;