diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-12-19 18:36:42 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-12-19 18:36:42 +0100 |
commit | a9a1b9f83d890e87206a4935763f31584b304d73 (patch) | |
tree | 3fa6da9e3a5fbd1dacb9135acbe8f82a0ea17bed /src/gui | |
parent | 13e3f3c7f04a805568ebb9a044d81d1eb32aedd6 (diff) | |
download | weechat-a9a1b9f83d890e87206a4935763f31584b304d73.zip |
Add aspell option to check mispelled words during text search in buffer (disabled by default)
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/gui-buffer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c index a3ce05be3..7bb4246c3 100644 --- a/src/gui/gui-buffer.c +++ b/src/gui/gui-buffer.c @@ -525,6 +525,12 @@ gui_buffer_get_integer (struct t_gui_buffer *buffer, const char *property) return buffer->notify; else if (string_strcasecmp (property, "lines_hidden") == 0) return buffer->lines_hidden; + else if (string_strcasecmp (property, "text_search") == 0) + return buffer->text_search; + else if (string_strcasecmp (property, "text_search_exact") == 0) + return buffer->text_search_exact; + else if (string_strcasecmp (property, "text_search_found") == 0) + return buffer->text_search_found; } return 0; |