Re: [code] Some advice on textadept programming

From: Carlos Pita <>
Date: Tue, 3 Mar 2015 02:01:02 -0300

> * Is it possible to eval a lua selection? If not, do you think it
> would be a worthy addition? Why?

For this part, I've written something like:

keys['cE'] = {function()
  local sel = buffer:get_sel_text()
  if sel ~= '' then load(sel)() else dofile(buffer.filename) end

but please let me know if I'm duplicating inbuilt functionality I
don't know about.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Tue 03 Mar 2015 - 00:01:02 EST

This archive was generated by hypermail 2.2.0 : Tue 03 Mar 2015 - 06:44:30 EST