Enclose in improvements

From: Brian Schott <brian-sch....at.cox.net>
Date: Fri, 30 Oct 2009 03:46:09 -0700

Was there any particular reason for requiring Alt+C to trigger the
"enclose" function from textadept.editing? I just stick this line in my
key_commands.lua and I'm liking it much better due to the smaller number
of keystrokes.

keys['s('] = {function() if buffer.get_sel_text() == '' then return
false else m_editing.enclose("parens") end end}
Received on Fri 30 Oct 2009 - 06:46:09 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:38:44 EST