diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-01-31 19:40:41 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-01-31 19:40:41 +0100 |
commit | 6983d34e884bf21c72990a9ad4ab7cad35f0c555 (patch) | |
tree | 7de0fbe4516a39f438d791dc8671dc5335771062 /doc/en/autogen | |
parent | 5d2382caab50d046a1a8abddeb34d7a545b9ea12 (diff) | |
download | weechat-6983d34e884bf21c72990a9ad4ab7cad35f0c555.zip |
aspell: optimization on spellers to improve speed (save state by buffer), add info "aspell_dict", add completion "aspell_dicts"
Two hashtables have been added to store the spellers currently used (in all
buffers) and info for each buffer: array with pointers to spellers and state of
aspell for this buffer.
Therefore the spellers are not destroyed and created again on each buffer switch,
or each time screen is refreshed when window is split.
Diffstat (limited to 'doc/en/autogen')
-rw-r--r-- | doc/en/autogen/plugin_api/completions.txt | 4 | ||||
-rw-r--r-- | doc/en/autogen/plugin_api/infos.txt | 2 | ||||
-rw-r--r-- | doc/en/autogen/user/aspell_commands.txt | 6 |
3 files changed, 8 insertions, 4 deletions
diff --git a/doc/en/autogen/plugin_api/completions.txt b/doc/en/autogen/plugin_api/completions.txt index a7e073a21..1fc9dcb1a 100644 --- a/doc/en/autogen/plugin_api/completions.txt +++ b/doc/en/autogen/plugin_api/completions.txt @@ -6,7 +6,9 @@ | alias | alias_value | value of alias -| aspell | aspell_langs | list of supported langs for aspell +| aspell | aspell_dicts | list of aspell installed dictionaries + +| aspell | aspell_langs | list of all languages supported by aspell | guile | guile_script | list of scripts diff --git a/doc/en/autogen/plugin_api/infos.txt b/doc/en/autogen/plugin_api/infos.txt index 9c28269fa..2981b9f66 100644 --- a/doc/en/autogen/plugin_api/infos.txt +++ b/doc/en/autogen/plugin_api/infos.txt @@ -2,6 +2,8 @@ |======================================== | Plugin | Name | Description | Arguments +| aspell | aspell_dict | comma-separated list of dictionaries used in buffer | buffer pointer ("0x12345678") or buffer full name ("irc.freenode.#weechat") + | fifo | fifo_filename | name of FIFO pipe | - | irc | irc_buffer | get buffer pointer for an IRC server/channel/nick | server,channel,nick (channel and nicks are optional) diff --git a/doc/en/autogen/user/aspell_commands.txt b/doc/en/autogen/user/aspell_commands.txt index ea03acd19..2f8e00181 100644 --- a/doc/en/autogen/user/aspell_commands.txt +++ b/doc/en/autogen/user/aspell_commands.txt @@ -3,15 +3,15 @@ ........................................ /aspell enable|disable|toggle listdict - setdict <lang> + setdict <dict>[,<dict>...] deldict - addword [<lang>] <word> + addword [<dict>] <word> enable: enable aspell disable: disable aspell toggle: toggle aspell listdict: show installed dictionaries - setdict: set dictionary for current buffer + setdict: set dictionary for current buffer (multiple dictionaries can be separated by a comma) deldict: delete dictionary used on current buffer addword: add a word in personal aspell dictionary |