Home Download Buy Blog Forum Support

My first snippet to insert a "\$" is a "no no".

My first snippet to insert a "\$" is a "no no".

Postby lawlist on Tue Mar 12, 2013 9:46 pm

Well, it looks like my first attempted snippet just happens to be a "no no". Is there any way to insert a slash+dollar-sign without any spaces -- i.e., a snippet to insert "\$" ?

Because snippets need a slash preceding the dollar sign to insert a dollar sign, inserting slash+dollar-sign appears to be problematic.


Code: Select all
# The goal is for the snippet to insert this into the text of the file being edited:

\$

Last edited by lawlist on Tue Mar 26, 2013 7:12 am, edited 1 time in total.
lawlist
 
Posts: 54
Joined: Thu Feb 21, 2013 6:47 pm

Re: My first snippet to insert a "\$" is a "no no".

Postby LONGMAN on Tue Mar 12, 2013 11:33 pm

What about "\\\$"?
AutoBackups: ST2 / ST3
CodeFormatter: ST2 / ST3
StringUtilities: ST2 / ST3
LONGMAN
 
Posts: 68
Joined: Mon Nov 26, 2012 5:03 pm
Location: Tbilisi, Georgia

Re: My first snippet to insert a "\$" is a "no no".

Postby lawlist on Wed Mar 13, 2013 12:39 am

Third slash is the charm ! :)

I had only tried two slashes.

Thank you very much.
lawlist
 
Posts: 54
Joined: Thu Feb 21, 2013 6:47 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 14 guests