I have a snippet that currently takes a selected word and puts some text around it which works great.
To save a few key strokes what i want to do select the word via regex (a python variable at the start of the current line) copy it to a new line under the current line then put the same text around it as before.
Is this possible with a snippet or am i using the wrong tool?
Any help appreciated.
Thanks
Rob