On 26 Nov 2007, at 17:43, Ian Potter wrote:
I was trying to grok your code and managed to find this error:
TextMate.exit_insert_snippet("#{e_snp(ENV['TM_SELECTED_TEXT'])\}
${0:#{e_snp(ENV['TM_SELECTED_TEXT'])}}") else
selecting both lines (at line 13 of your command) and invoking the command gives
TextMate.exit_insert_snippet("#{e_snp(ENV['TM_SELECTED_TEXT'])\}
${0:#{e_snp(ENV['TM_SELECTED_TEXT'])}}") else TextMate.exit_insert_snippet("#{e_snp(ENV['TM_SELECTED_TEXT'])}$ {0:#{e_snp(ENV['TM_SELECTED_TEXT'])}}") else
;P I don't see the forrest for trees.
OK hopefully the last one ;)
--Hans