diff options
author | 2013-04-24 09:36:27 -0400 | |
---|---|---|
committer | 2013-04-24 09:36:27 -0400 | |
commit | 3b70b4b56802f1115bd5dac04bdcb95a38c23823 (patch) | |
tree | 95d5522f91991b0a2a175e98db945138248f067e /FAQ.md | |
parent | 42cf930ef13b2ebef310dc59f424e03fa42e9426 (diff) | |
download | textadept-3b70b4b56802f1115bd5dac04bdcb95a38c23823.tar.gz textadept-3b70b4b56802f1115bd5dac04bdcb95a38c23823.zip |
Use `buffer.word_chars` for autocompleting words instead of a Lua pattern.
Diffstat (limited to 'FAQ.md')
-rw-r--r-- | FAQ.md | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -46,22 +46,6 @@ The source version contains all the files necessary for compiling Textadept. - - - **Q:** -Autocompletion does not work for my language. Why not? - -**A:** -*modules/textadept/key_commands.lua* calls -[`_M.textadept.editing.autocomplete_word()`][] with `'%w_'`, which in [Lua][] is -all ASCII alphanumeric characters and underscores. You can add character ranges -in `'\xXX-\xXX'` or `'\ddd-\ddd'` [format][] (e.g. `'%w_\127-\255'`). -Unfortunately this probably will not work for unicode. - -[`_M.textadept.editing.autocomplete_word()`]: api/_M.textadept.editing.html#autocomplete_word -[Lua]: 14_Appendix.html#Lua.Patterns -[Format]: http://www.lua.org/manual/5.2/manual.html#3.1 - -- - - - -**Q:** When I click the "Compile" or "Run" menu item (or execute the key command), either nothing happens or the wrong command is executed. How can I tell Textadept which command to run? |