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

From: Mitchell <m.att.foicica.com>
Date: Sun, 2 Apr 2017 11:36:40 -0400 (EDT)

Hi Pedro,

On Sun, 2 Apr 2017, Pedro Andres Aranda Gutierrez wrote:

> Hi folks,
>
> don't know if this is too difficult, but I think it is somehow not a
> moonshot. If I have a snippet like
> '\\%1(ac){%<selected_text>%2}%0'
> in a LaTEX mode, what I'm actually intending is to insert an acronym or
> convert the selected text into a new acronym. Converting IMHO means
> replacing the selection with the text resulting from applying the snippet...

Would you please give an example of input and then an example of the
expected output? I cannot visualize what you are suggesting. Thank you.

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 02 Apr 2017 - 11:36:40 EDT

This archive was generated by hypermail 2.2.0 : Mon 03 Apr 2017 - 06:26:10 EDT