Lines Matching +defs:match +defs:string

38 /* Variable which holds the last string searched for. */
174 _("Look up a string in the index for this file"))
190 /* The user is selecting a new search string, so flush the old one. */
250 /* The user typed either a completed index label, or a partial string.
251 Find an exact match, or, failing that, the first index entry containing
252 the partial string. So, we just call info_next_index_match () with minor
269 /* The "last" string searched for is this one. */
282 index_entry_exists (WINDOW *window, char *string)
287 /* If there is no previous search string, the user hasn't built an index
289 if (!string)
305 if (strcmp (string, index_index[i]->label) == 0)
308 /* If that failed, look for the next substring match. */
312 if (string_in_line (string, index_index[i]->label) != -1)
316 string_in_line (string, index_index[i]->label);
333 /* If there is no previous search string, the user hasn't built an index
337 info_error ((char *) _("No previous index search string."), NULL, NULL);
356 an exact match. */
363 /* If that failed, look for the next substring match. */
389 char *match;
401 /* If we had a partial match, indicate to the user which part of the
402 string matched. */
403 match = xstrdup (index_index[i]->label);
411 upper = isupper (match[start]) ? 1 : 0;
415 match[k + start] = info_tolower (match[k + start]);
417 match[k + start] = info_toupper (match[k + start]);
424 ((char *) _("Found `%s' in %s. (`\\[next-index-match]' tries to find next.)"),
427 window_message_in_echo_area (format, match, (char *) name);
430 free (match);
602 info_apropos (char *string)
606 apropos_list = apropos_in_all_indices (string, 0);
609 info_error ((char *) _(APROPOS_NONE), string, NULL);
625 _("Grovel all known info file's indices for a string and build a menu"))