Re: [code][textadept]Ctrl-Z in curses mode

From: Robert Gieseke <rob.g.att.web.de>
Date: Mon, 5 Feb 2018 08:13:38 +0100

Am 05/02/18 um 00:58 schrieb Mitchell:
>> You can ignore suspend events and make Ctrl+Z undo by putting the following
>> on your *~/.textadept/init.lua*:
>>
>> events.connect(events.SUSPEND, function()
>> buffer:undo()
>> return true -- prevent suspend
>> end)
>
> By the way, this is also in the FAQ: https://foicica.com/textadept/FAQ.html

Sorry for giving a wrong answer I had forgotten about that! Maybe adding
hints (or even links) to the docs and comments would help? See the
attached patch ...

Cheers,
Robert

-- 
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 Mon 05 Feb 2018 - 02:13:38 EST

This archive was generated by hypermail 2.2.0 : Mon 05 Feb 2018 - 06:28:40 EST