summaryrefslogtreecommitdiff
path: root/src/fltk_binding/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
commitdefb53343417f2cc3ca28c5968322b8bd658364c (patch)
treea2c714e208bcafb7093dc57e8076ba7c400720f3 /src/fltk_binding/fltk-text_buffers.ads
parent42904bb6f3b48b27961bbec807cb514661ebb675 (diff)
Added find next and find previous
Diffstat (limited to 'src/fltk_binding/fltk-text_buffers.ads')
-rw-r--r--src/fltk_binding/fltk-text_buffers.ads15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/fltk_binding/fltk-text_buffers.ads b/src/fltk_binding/fltk-text_buffers.ads
index 171fd84..582de1d 100644
--- a/src/fltk_binding/fltk-text_buffers.ads
+++ b/src/fltk_binding/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;