Function
Idetext_iter_find_chars_backward
Declaration
gboolean
ide_text_iter_find_chars_backward (
GtkTextIter* iter,
GtkTextIter* limit,
GtkTextIter* end,
const gchar* str,
gboolean only_at_start
)
Description
Search backward for a str
string, starting at iter
position till limit
if there’s one.
In case of succes, iter
is updated to str
start position.
Notice that for str
to be found, iter
need to be at least on the str
last char.
Parameters
iter
-
Type:
GtkTextIter
A
GtkTextIter
indicating the start position to check for.The data is owned by the caller of the function. limit
-
Type:
GtkTextIter
A
GtkTextIter
indicating the limit of the search.The argument can be NULL
.The data is owned by the caller of the function. end
-
Type:
GtkTextIter
A
GtkTextIter
returning the str end iter (if found).The argument will be set by the function. The argument can be set to NULL
by the function.The data is owned by the function. str
-
Type:
const gchar*
A C type string.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. only_at_start
-
Type:
gboolean
TRUE
if the searchedstr
string should be constrained to startiter
position.