Commit c7605850 authored by Christian Persch's avatar Christian Persch

widget: Rename API

For consistency, name this vte_terminal_match_remove_all.
parent bbe25c8a
......@@ -58,9 +58,9 @@ vte_terminal_get_text
vte_terminal_get_text_include_trailing_spaces
vte_terminal_get_text_range
vte_terminal_get_cursor_position
vte_terminal_match_clear_all
vte_terminal_match_add_gregex
vte_terminal_match_remove
vte_terminal_match_remove_all
vte_terminal_match_check
vte_terminal_match_set_cursor
vte_terminal_match_set_cursor_type
......
......@@ -1192,14 +1192,16 @@ vte_terminal_set_cursor_from_regex_match(VteTerminal *terminal, struct vte_match
}
/**
* vte_terminal_match_clear_all:
* vte_terminal_match_remove_all:
* @terminal: a #VteTerminal
*
* Clears the list of regular expressions the terminal uses to highlight text
* when the user moves the mouse cursor.
*
* Since: 0.30
*/
void
vte_terminal_match_clear_all(VteTerminal *terminal)
vte_terminal_match_remove_all(VteTerminal *terminal)
{
struct vte_match_regex *regex;
guint i;
......
......@@ -327,8 +327,6 @@ char *vte_terminal_get_text_range(VteTerminal *terminal,
GArray *attributes);
void vte_terminal_get_cursor_position(VteTerminal *terminal,
glong *column, glong *row);
/* Display string matching: clear all matching expressions. */
void vte_terminal_match_clear_all(VteTerminal *terminal);
/* Add a matching expression, returning the tag the widget assigns to that
* expression. */
......@@ -340,8 +338,8 @@ void vte_terminal_match_set_cursor_type(VteTerminal *terminal,
int tag, GdkCursorType cursor_type);
void vte_terminal_match_set_cursor_name(VteTerminal *terminal,
int tag, const char *cursor_name);
/* Remove a matching expression by tag. */
void vte_terminal_match_remove(VteTerminal *terminal, int tag);
void vte_terminal_match_remove_all(VteTerminal *terminal);
/* Check if a given cell on the screen contains part of a matched string. If
* it does, return the string, and store the match tag in the optional tag
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment