Re: [code] How to add code folding keywords to an existing lexer?

From: Pedro Andres Aranda Gutierrez <paaguti.att.gmail.com>
Date: Thu, 9 Mar 2017 12:00:53 +0100

A small addition for the sake of OSXers like myself. Since F9 is normally
associated with Desktop functions, I rather have

---
-- Save file and reset Lua state
--
keys[OSX and 'mf9' or 'f9'] = function()
  io.save_file()
  reset()
end
Just my .02 cents
/PA
PS: the textadept entry in contextgarden rocks! :-)
On 9 March 2017 at 07:47, cryo shock <axteffekt.att.gmail.com> wrote:
> Hi Robert, hi Mitchell,
>
> 2017-03-08 23:05 GMT+01:00 Robert Gieseke <rob.g.att.web.de>:
>>
>>
>> -- Save and reset Lua state: `F9`
>> keys['f9'] = function()
>>   io.save_file()
>>   reset()
>> end
>>
>> Cheers,
>> Robert
>>
>
> Thank you very much. This is a very useful feature. It's in the wiki
> already.
>
> 2017-03-09 3:46 GMT+01:00 Mitchell <m.att.foicica.com>:
>
>> Hi Sebastian,
>>
>> On Wed, 8 Mar 2017, cryo shock wrote:
>>
>> It works as expected. Thanks again Mitchell.
>>>
>>> Btw. I greatly extended the Textadept article ConTeXt garden, you might
>>> want to have a look some time:
>>> http://wiki.contextgarden.net/Textadept
>>> I hope that popularity on both TA and CTX will grow this way, as TA has
>>> everything that I expected from an Editor like this. Thanks for this
>>> great
>>> Software.
>>>
>>
>> Cheers! Thanks for sharing.
>
>
> My pleasure.
>
> Cheers
>
>
>>
-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellet zu werden
Georg Kreisler
-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 09 Mar 2017 - 06:00:53 EST

This archive was generated by hypermail 2.2.0 : Thu 09 Mar 2017 - 06:32:33 EST