My favorites | Sign in
Logo
                
Search
for
Updated Aug 04, 2009 by mforal
Labels: Featured
FAQ  
Textadept FAQ

Textadept FAQ

Q. What's up with the strange snippets?

A. Support for Textmate-style snippets was dropped starting in version 1.5 in favor for Lua-style snippets. If you really need them, you can get them from a previous version.

Q. Why on earth does the 'Help' menu open Internet Explorer on Windows when I have Firefox as my default browser?

A. I didn't want to introduce code for calling the Win32 API from Lua. Simply change the browser to use in core/ext/menu.lua from IE to Firefox.

Q. How do I change the key commands for a non-English keyboard layout?

A. Uncomment the print(key_seq, ... line in core/ext/keys.lua's keypress function in order to print the key sequences pressed to standard out. You can then use these sequences as keys in core/ext/key_commands.lua's keys table.

Q. Autocompletion does not work for my language. What's the problem?

A. core/ext/key_commands.lua calls m_editing.autocomplete_word() with '%w_', which in Lua is all alphanumeric characters and underscores. You can add a range of characters for your language with a '\ddd-\ddd' sequence (e.g. '\127-\255')


Sign in to add a comment
Hosted by Google Code