[code] Re: Textadept Curses indents when pasting code

From: Thorsten Kampe <thorsten.att.thorstenkampe.de>
Date: Wed, 14 Aug 2019 19:29:37 +0200

* Mitchell (Wed, 14 Aug 2019 11:59:08 -0400 (EDT))

> On Wed, 14 Aug 2019, Thorsten Kampe wrote:
>
> > Textadept Curses (which I exclusively use) indents already
> > formatted code when pasting. The GUI version does not. This
> > results in massively distorted code when pasting.
> >
> > Can I prevent TA Curses from doing so?
>
> Does your terminal support something called "bracketed paste mode"? textadept-curses utilizes this mode[1] in order to not autoindent externally pasted code.

I'm using ConEmu. According to
https://conemu.github.io/en/AnsiEscapeCodes.html , ConEmu
supports "brackted paste mode: "ESC [ ? 2004 h Enable xterm
bracketed paste mode: ConEmu sends pasted text to console input
buffer framed into \s[200~ … \e[201~". So why doesn't it work?

Thorsten

-- 
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 14 Aug 2019 - 13:29:37 EDT

This archive was generated by hypermail 2.2.0 : Thu 15 Aug 2019 - 06:48:45 EDT