wy88y / zen-coding

Automatically exported from code.google.com/p/zen-coding
0 stars 0 forks source link

Indention and cursor placement #284

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I found a issue with indention and cursor placement (|), i.e when i use 
"html:xs" it gives me a doctype and whole site structure, but the cursor isn't 
in body tag like it was in previous version of plugin.

Also when I edit "my_zen_settings.js" and I want to make an indention (\t), it 
doesn't work. And cursor placement by using (|) also doesn't work properly, it 
puts cursor inside word "title" instead of inside "title" markup.

Those issues are in plugin for Dreamweaver (v CS5.5), version of plugin: 0.7.5. 
I installed v.0.7.2 and the whole problems gone.

Please check it and try to fix it.
And keep up good work :)

Original issue reported on code.google.com by depal...@gmail.com on 1 Aug 2011 at 2:48

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Oh, i forgot. Is just one thing more.
I wanted to make snippet, when I type $ (dollar sign) and hit TAB it turns in 
$(""), but $ it's turning into 1.

So I made a variable:
'4' : '$',
and I used it like this:
'$' : '${4}("|")',

It work great but in v.0.7.2. 
In newest one it doesn't. $ is turning into 1.

Original comment by depal...@gmail.com on 1 Aug 2011 at 2:55

GoogleCodeExporter commented 9 years ago
Try to escape dollar sign with '\' symbol (note that you should use double 
slash to properly escape it for Zen Coding), i.e.:

'do$$az' → 'do\\$\\$az'

Original comment by serge....@gmail.com on 1 Aug 2011 at 8:44

GoogleCodeExporter commented 9 years ago
Is this issue still exists?

Original comment by serge....@gmail.com on 4 Jul 2012 at 9:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Except of dollar sign turning into 1, I cannot reproduce this. However, with 
those snippets $ expands into $4("") instead of $("").

Original comment by GreLIm...@gmail.com on 5 Jul 2012 at 5:28

GoogleCodeExporter commented 9 years ago
Escaping “$” like “\\$” in the snippet value works perfectly.

Original comment by GreLIm...@gmail.com on 5 Jul 2012 at 5:31