Hi All,
Forgive my ignorance. I would like to create a simple snippet that uses the selected text several times; For example, if I select “abc” the snippet would produce:
abcLH = { }
abcRH = { }
I encountered two problems. FIrst, $SELECTION was fine for the 1st instance only - not for the 2nd. It was as if it lost the value after the 1st insertion.
Next, I couldn’t concatenate the $SELECTION with the subsequent text. I needed to leave a space, or it was interpreted $SELECTIONLH as variable name.
Any suggestions would be much apprepciated
Ken