summaryrefslogtreecommitdiff
path: root/fltk-text_buffers.ads
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-11-13 22:23:47 +1100
committerJed Barber <jjbarber@y7mail.com>2016-11-13 22:23:47 +1100
commit4b2b1c8d6e85760bc2d5f65f52a122a2ea1e542d (patch)
tree256d3f2fa53bd5987c318a4fd1869a367e1e1fc9 /fltk-text_buffers.ads
parent01af58c37a8eab2346b4a9047b2a1e0b994f120c (diff)
Added find next and find previous
Diffstat (limited to 'fltk-text_buffers.ads')
-rw-r--r--fltk-text_buffers.ads15
1 files changed, 15 insertions, 0 deletions
diff --git a/fltk-text_buffers.ads b/fltk-text_buffers.ads
index 171fd84..582de1d 100644
--- a/fltk-text_buffers.ads
+++ b/fltk-text_buffers.ads
@@ -86,11 +86,26 @@ package FLTK.Text_Buffers is
return Boolean;
+ function Search_Backward
+ (This : in Text_Buffer;
+ Start_At : in Natural;
+ Item : in String;
+ Found_At : out Natural;
+ Match_Case : in Boolean)
+ return Boolean;
+
+
procedure Set_Selection
(This : in out Text_Buffer;
Start, Finish : in Natural);
+ function Get_Selection
+ (This : in Text_Buffer;
+ Start, Finish : out Natural)
+ return Boolean;
+
+
-- only takes into account newline characters, not word wrap
function Skip_Lines
(This : in out Text_Buffer;