s/geany_find_text/search_find_text

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/gnu-regex@4742 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2010-03-08 16:27:51 +00:00
parent b8e2b623b4
commit bba3be69d6

View File

@ -1758,7 +1758,7 @@ gint search_replace_target(ScintillaObject *sci, const gchar *replace_text,
} }
static gint geany_find_text(ScintillaObject *sci, gint flags, struct Sci_TextToFind *ttf) static gint search_find_text(ScintillaObject *sci, gint flags, struct Sci_TextToFind *ttf)
{ {
regex_t regex; regex_t regex;
gint pos; gint pos;
@ -1800,7 +1800,7 @@ static gint find_document_usage(GeanyDocument *doc, const gchar *search_text, gi
{ {
gint pos, line, start, find_len; gint pos, line, start, find_len;
pos = geany_find_text(doc->editor->sci, flags, &ttf); pos = search_find_text(doc->editor->sci, flags, &ttf);
if (pos == -1) if (pos == -1)
break; /* no more matches */ break; /* no more matches */
find_len = ttf.chrgText.cpMax - ttf.chrgText.cpMin; find_len = ttf.chrgText.cpMax - ttf.chrgText.cpMin;
@ -1897,7 +1897,7 @@ guint search_replace_range(ScintillaObject *sci, struct Sci_TextToFind *ttf,
gint search_pos; gint search_pos;
gint find_len = 0, replace_len = 0; gint find_len = 0, replace_len = 0;
search_pos = geany_find_text(sci, flags, ttf); search_pos = search_find_text(sci, flags, ttf);
find_len = ttf->chrgText.cpMax - ttf->chrgText.cpMin; find_len = ttf->chrgText.cpMax - ttf->chrgText.cpMin;
if (search_pos == -1) if (search_pos == -1)
break; /* no more matches */ break; /* no more matches */