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

From: Brian Schott <briancschott.att.gmail.com>
Date: Wed, 17 Oct 2012 11:55:51 -0700

It's not much worse than having to ":set paste" and then ":unset
paste" in VIM to keep it from screwing up indentation and other
things.

On Wed, Oct 17, 2012 at 11:38 AM, Mitchell <m.att.foicica.com> wrote:
> Robert,
>
>
> On Wed, 17 Oct 2012, Robert wrote:
>
>> Hi,
>>
>> when pasting something quoted, like
>> "test" into textadept-ncurses I get
>> "test""".
>> Tested on gnome-terminal.
>
>
> 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
>
> --
> 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.
>

-- 
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 Wed 17 Oct 2012 - 14:55:51 EDT

This archive was generated by hypermail 2.2.0 : Thu 18 Oct 2012 - 06:30:23 EDT