Lines Matching defs:replace
294 Glib::ustring Find::find_replace(const gchar *str, const gchar *find, const gchar *replace, bool exact, bool casematch, bool replaceall)
303 ustr.replace(n, ufind.length(), replace);
307 // Start the next search after the last replace character to avoid infinite loops (replace "a" with "aaa" etc)
308 n = find_strcmp_pos(ustr.c_str(), ufind.c_str(), exact, casematch, n + strlen(replace) + 1);
341 bool Find::item_text_match (SPItem *item, const gchar *find, bool exact, bool casematch, bool replace/*=false*/)
354 if (found && replace) {
386 bool Find::item_id_match (SPItem *item, const gchar *id, bool exact, bool casematch, bool replace/*=false*/)
403 if (found && replace) {
415 bool Find::item_style_match (SPItem *item, const gchar *text, bool exact, bool casematch, bool replace/*=false*/)
428 if (found && replace) {
441 bool Find::item_attr_match(SPItem *item, const gchar *text, bool exact, bool /*casematch*/, bool replace/*=false*/)
458 if (found && replace) {
465 bool Find::item_attrvalue_match(SPItem *item, const gchar *text, bool exact, bool casematch, bool replace/*=false*/)
482 if (found && replace) {
497 bool Find::item_font_match(SPItem *item, const gchar *text, bool exact, bool casematch, bool /*replace*/ /*=false*/)
801 status.set_text(_("Nothing to replace"));
917 // Can't replace attribute names