thetooi / zen-coding

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

Expandos don't appear to support grouping yet in v 0.6 #114

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write & test an abbreviation that uses grouping e.g.
#container>(#header>#logo+#tagline+ul#nav>li*6>a)+#main
2. write an expando that would expand the same abbreviation

What is the expected output? The expando should create the same output as
the abbreviation. What do you see instead? No result.

What version of the product are you using? On what operating system?
ZC v6.0.1 within Aptana Studio, build: 2.0.3.1265134283 on Win Vista.

Please provide any additional information below.
As soon as grouping is used in the expando it doesn't work. I'm aware that
expandos need to end with a + and couldn't be chained before v0.6. I had
expected grouping to allow this, but it turns out that the grouping isn't
supported in expandos for any abbreviations (not just the special case of
trying to chain expandos).

Original issue reported on code.google.com by webs%fla...@gtempaccount.com on 22 Feb 2010 at 4:37

GoogleCodeExporter commented 9 years ago
Expandos are processed after group splitting. Try to find a way how to fix it.
BTW, this will work: `div+(dl+)+div`

Original comment by serge....@gmail.com on 22 Feb 2010 at 9:44

GoogleCodeExporter commented 9 years ago
True. (dl+) is an expando that does not contain any grouping itself, so works 
fine.

Original comment by webs%fla...@gtempaccount.com on 22 Feb 2010 at 1:55

GoogleCodeExporter commented 9 years ago
Fixed in github repo

Original comment by serge....@gmail.com on 12 Dec 2010 at 3:15