Top |
Functions
gboolean | go_search_match_string () |
GQuark | go_search_replace_error_quark () |
char * | go_search_replace_string () |
gboolean | go_search_replace_verify () |
Properties
gboolean | ignore-case | Read / Write |
gboolean | is-regexp | Read / Write |
gboolean | match-words | Read / Write |
gboolean | preserve-case | Read / Write |
gchar * | replace-text | Read / Write |
gchar * | search-text | Read / Write |
Functions
go_search_replace_verify ()
gboolean go_search_replace_verify (GOSearchReplace *sr
,gboolean repl
,GError **err
);
Types and Values
GOSearchReplace
typedef struct { char *search_text; char *replace_text; GORegexp *comp_search; gboolean is_regexp; /* Search text is a regular expression. */ gboolean ignore_case; /* Consider "a" and "A" the same. */ gboolean preserve_case; /* Like Emacs' case-replace. */ gboolean match_words; /* Like grep -w. */ } GOSearchReplace;
Members
string to replace. |
||
string to use as replacement/ |
||
GORegexp * |
||
search text is a regular expression. |
||
consider "a" and "A" the same. |
||
like Emacs' case-replace. |
||
like grep -w. |
Property Details
The “ignore-case”
property
“ignore-case” gboolean
Ignore the case of letters.
Flags: Read / Write
Default value: FALSE
The “is-regexp”
property
“is-regexp” gboolean
Is the search text a regular expression.
Flags: Read / Write
Default value: FALSE
The “match-words”
property
“match-words” gboolean
Match whole words only.
Flags: Read / Write
Default value: FALSE
The “preserve-case”
property
“preserve-case” gboolean
Preserve the case of letters.
Flags: Read / Write
Default value: FALSE
The “replace-text”
property
“replace-text” gchar *
The text to replace with.
Flags: Read / Write
Default value: NULL