Re: [Geany] Snippets - support for variable values in multiple places?

2011-05-11 Thread Oliver Marks
* On Wed, 2011-05-11 at 11:10 +1000, Russell Dickenson wrote: I wonder if it's possible to insert in multiple places within a snippet the same string? For example, I have a snippet which inserts some HTML code that refers to an image and I use the description of the image in two places

Re: [Geany] Snippets - support for variable values in multiple places?

2011-05-11 Thread Eugene Arshinov
On Wed, 11 May 2011 11:09:43 +0100 Oliver Marks oliver.ma...@gforces.co.uk wrote: * On Wed, 2011-05-11 at 11:10 +1000, Russell Dickenson wrote: I wonder if it's possible to insert in multiple places within a snippet the same string? For example, I have a snippet which inserts some

[Geany] Snippets - support for variable values in multiple places?

2011-05-11 Thread Jean-Daniel Bonjour
On Wed May 11 10:30:31 UTC 2011 Eugene Arshinov wrote: I have one more suggestion: new %selection% parameter for current selection. It will make sense when used together with snippet keybindings. For example, some users may find it useful to create HTML snippets like

Re: [Geany] Snippets - support for variable values in multiple places?

2011-05-11 Thread Lex Trotman
On 11 May 2011 22:59, Jean-Daniel Bonjour jean-daniel.bonj...@epfl.ch wrote: On Wed May 11 10:30:31 UTC 2011 Eugene Arshinov wrote: I have one more suggestion: new %selection% parameter for current selection.  It will make sense when used together with snippet keybindings.  For example, some

[Geany] Snippets - support for variable values in multiple places?

2011-05-10 Thread Russell Dickenson
I wonder if it's possible to insert in multiple places within a snippet the same string? For example, I have a snippet which inserts some HTML code that refers to an image and I use the description of the image in two places within the same snippet. As I understand the manual, you insert %cursor%