Re: [code] Feature request: snippet._insert should allow replacing the selection

From: Mitchell <m.att.foicica.com>
Date: Sun, 7 May 2017 08:42:10 -0400 (EDT)

Hi Sebastian,

On Sun, 7 May 2017, cryo shock wrote:

>>
>>
>>> Generally, if you try to break the snippet system, you will succeed. I
>> don't know how to make it work all the time. It was designed for inserting
>> placeholders in order, and allowing most use-cases of nested snippets. I
>> don't think yours is a common use case. Sorry if I'm misunderstanding
>> though.
>>
> You might be very right about this. But imagine a user who inserts a
> snippet and deletes it right-away because he's had another idea or he
> pasted the wrong snippet for example. I think this could be pretty common,
> If you delete the whole snippet, then again TA will jump to the first line
> and delete the first symbol.

I understand, and that is what "Tools -> Snippets -> Cancel Snippet"
(Ctrl+Shift+K) is for. I will make a note to look into this though. I
appreciate the details of your report.

Cheers,
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.
Received on Sun 07 May 2017 - 08:42:10 EDT

This archive was generated by hypermail 2.2.0 : Mon 08 May 2017 - 06:43:01 EDT