NataBilya / zen-coding

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

Wrong comment toggle inside <style> tag #138

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Step inside <style> tag
2. Toggle comment

What is the expected output? What do you see instead?
CSS commenting is used instead of HTML one.

What version of the product are you using? On what operating system?
ZC 0.6 for Aptana 2.0

Please provide any additional information below.
«Live» demonstration http://goo.gl/XVa4

Original issue reported on code.google.com by kapooos...@gmail.com on 15 Mar 2010 at 1:55

GoogleCodeExporter commented 8 years ago
Should be fixed in new Eclipse plugin: 
https://github.com/sergeche/eclipse-zencoding

Original comment by serge....@gmail.com on 28 Nov 2010 at 2:38

GoogleCodeExporter commented 8 years ago
Not exactly. With Eclipse plugin when cursor is inside style attribute and 
nothing is selected comment toggle encloses the full line of code in /**/. And 
if there is a selection inside attribute content, it is surrounded by <!-- -->.

Original comment by kapooos...@gmail.com on 28 Nov 2010 at 2:56

GoogleCodeExporter commented 8 years ago
It also depends on exact position of cursor: if the first word right after 
opening quote is selected, it behaves the way I described in comment above.

Original comment by kapooos...@gmail.com on 28 Nov 2010 at 3:03

GoogleCodeExporter commented 8 years ago

Original comment by serge....@gmail.com on 28 Nov 2010 at 4:16

GoogleCodeExporter commented 8 years ago

Original comment by serge....@gmail.com on 1 Feb 2011 at 10:56

GoogleCodeExporter commented 8 years ago
Fixed in latest nightly build

Original comment by serge....@gmail.com on 10 Mar 2011 at 10:08