#include <sourceiter.h>
Public Member Functions | |
~SourceIter () | |
bool | forward_search (const Glib::ustring &a_str, SearchFlags a_flags, Gtk::TextIter &a_match_start, Gtk::TextIter &a_match_end, const Gtk::TextIter &a_limit) const |
search forward in the buffer | |
bool | backward_search (const Glib::ustring &a_str, SearchFlags a_flags, Gtk::TextIter &a_match_start, Gtk::TextIter &a_match_end, const Gtk::TextIter &a_limit) const |
search backward in the buffer | |
constructors | |
SourceIter () | |
SourceIter (const Gtk::TextIter &iter) | |
SourceIter (const GtkTextIter *gobject) | |
SourceIter (const SourceIter &a_iter) |
it provides search features
gtksourceview::SourceIter::SourceIter | ( | ) |
gtksourceview::SourceIter::SourceIter | ( | const Gtk::TextIter & | iter | ) |
gtksourceview::SourceIter::SourceIter | ( | const GtkTextIter * | gobject | ) |
gtksourceview::SourceIter::SourceIter | ( | const SourceIter & | a_iter | ) |
gtksourceview::SourceIter::~SourceIter | ( | ) |
bool gtksourceview::SourceIter::forward_search | ( | const Glib::ustring & | a_str, | |
SearchFlags | a_flags, | |||
Gtk::TextIter & | a_match_start, | |||
Gtk::TextIter & | a_match_end, | |||
const Gtk::TextIter & | a_limit | |||
) | const |
search forward in the buffer
a_str | the string to search for | |
a_flags | search flags, to be combined with the '|' operator | |
a_match_start | out parameter. Points the the beginning of the region that matches the search. This is applicable if and only if the function returns true. | |
a_match_end | out parameter. Points the the end of the region that matches the search. This is applicable if and only if the function returns true. |
bool gtksourceview::SourceIter::backward_search | ( | const Glib::ustring & | a_str, | |
SearchFlags | a_flags, | |||
Gtk::TextIter & | a_match_start, | |||
Gtk::TextIter & | a_match_end, | |||
const Gtk::TextIter & | a_limit | |||
) | const |
search backward in the buffer
a_str | the string to search for | |
a_flags | search flags, to be combined with the '|' operator | |
a_match_start | out parameter. Points the the beginning of the region that matches the search. This is applicable if and only if the function returns true. | |
a_match_end | out parameter. Points the the end of the region that matches the search. This is applicable if and only if the function returns true. |