aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/menu.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2014-05-23 23:32:24 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2014-05-23 23:32:24 -0400
commit59cc2a760aab8a2eb279d79b75a2a7e020e10801 (patch)
tree8bfacb6aa1f6d5ac7d2a1e58ae9fd446d8f05264 /modules/textadept/menu.lua
parent113137d4fe3f71fa13f2d3387bb2f8801134de26 (diff)
downloadtextadept-59cc2a760aab8a2eb279d79b75a2a7e020e10801.tar.gz
textadept-59cc2a760aab8a2eb279d79b75a2a7e020e10801.zip
Renamed `textadept.editing.autocomplete_word()` and added `AUTOCOMPLETE_ALL`.
The new `textadept.editing.autocomplete()` is a generic function for a new autocompletion framework that will replace Adeptsense. The framework involves individual autocompletion functions, such as one for autocompleting words. Also added new `AUTOCOMPLETE_ALL` setting for searching all buffers for word completions.
Diffstat (limited to 'modules/textadept/menu.lua')
-rw-r--r--modules/textadept/menu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index c6d5d5af..6dc3bc1b 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -47,7 +47,7 @@ local menubar = {
{_L['Select _All'], buffer.select_all},
SEPARATOR,
{_L['_Match Brace'], editing.match_brace},
- {_L['Complete _Word'], editing.autocomplete_word},
+ {_L['Complete _Word'], {editing.autocomplete, 'word'}},
{_L['_Highlight Word'], editing.highlight_word},
{_L['Toggle _Block Comment'], editing.block_comment},
{_L['T_ranspose Characters'], editing.transpose_chars},