Re: [code] [textadept] [ncurses] bug: extra quotes on paste

From: Mitchell <>
Date: Fri, 19 Oct 2012 09:01:18 -0400 (Eastern Daylight Time)

On Fri, 19 Oct 2012, Robert wrote:

> On Wed, Oct 17, 2012 at 8:38 PM, Mitchell <> wrote:
> [..]
>> Since this does not happen when the internal clipboard ta uses has quotes in
>> it, this problem seems to be due to the way terminals "paste" data from an
>> external source (e.g. clipboard). It looks like text is "typed" into the
>> terminal, which can trigger 'char_added' events. I don't think there is a
>> way to detect such a "paste". The only option seems to be to simply turn off
>> _M.textadept.editing.AUTOPAIR and _M.textadept.editing.AUTOINDENT, but this
>> is probably not desirable.
>> Mitchell
> Is it possible to read the clipboards content from Lua without
> inserting it? That might be a way to check if triple quotes etc.
> should be removed.

From what I read from the link you posted earlier and other research I
have done, no.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Fri 19 Oct 2012 - 09:01:18 EDT

This archive was generated by hypermail 2.2.0 : Sat 20 Oct 2012 - 06:38:32 EDT