Index

Package: Find_Chars (generic)

Description

generic
      type Data_Type (<>) is private;
   package Find_Chars is

Types

Data_Type

type Data_Type (<>) is private;

Gtk_Text_Char_Predicate

type Gtk_Text_Char_Predicate is access function
        (Ch : Gunichar; User_Data : Data_Type) return Boolean;

Subprograms & Entries

Forward_Find_Char

function Forward_Find_Char 
(Iter: Gtk_Text_Iter;
Pred: Gtk_Text_Char_Predicate;
User_Data: Data_Type;
Limit: Gtk_Text_Iter) return Boolean;
Advances Iter, calling Pred on each character. If Pred returns True, returns True and stops scanning. If Pred never returns True, Iter is set to Limit if Limit is not Null_Iter, otherwise to the end iterator.

Backward_Find_Char

function Backward_Find_Char 
(Iter: Gtk_Text_Iter;
Pred: Gtk_Text_Char_Predicate;
User_Data: Data_Type;
Limit: Gtk_Text_Iter) return Boolean;
Same as Forward_Find_Char, but goes backward from Iter