diff options
author | 2014-10-05 00:28:18 -0400 | |
---|---|---|
committer | 2014-10-05 00:28:18 -0400 | |
commit | 1be7d50f3cee5aa4a06c083d195290e8fe8cacaf (patch) | |
tree | eff35c8d3adfbdf6a9678aba4a53592f9647d359 /modules/textadept/find.lua | |
parent | 6de8b710a1fb0c818c22de19cefc125224555101 (diff) | |
download | textadept-1be7d50f3cee5aa4a06c083d195290e8fe8cacaf.tar.gz textadept-1be7d50f3cee5aa4a06c083d195290e8fe8cacaf.zip |
Replaced command entry text field with a Scintilla buffer.
`ui.command_entry` now has the same functions and fields as `buffer`s as well as
an additional `height` property. Note that when the command entry is active,
`_G.buffer` is unchanged, so many existing key commands cannot be bound to
command entry key modes. See `keys.lua_command` in
*modules/textadept/command_entry.lua* for the proper way to bind them.
Removed `ui.command_entry.entry_text` and `ui.command_entry.show_completions()`.
Diffstat (limited to 'modules/textadept/find.lua')
-rw-r--r-- | modules/textadept/find.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua index 8f5dde69..bde8dfa5 100644 --- a/modules/textadept/find.lua +++ b/modules/textadept/find.lua @@ -207,7 +207,7 @@ end function M.find_incremental(text, next, anchor) if text then find_incremental(text, next, anchor) return end M.incremental_start = buffer.current_pos - ui.command_entry.entry_text = '' + ui.command_entry:set_text('') ui.command_entry.enter_mode('find_incremental') end |