textpow version 0.9.1 has been released!
A library for parsing TextMate[http://macromates.com/] bundles.
Changes:
0.9.1 / 2007-06-14
-
FIX: Score manager now handles multiple subtractions in scope
definitions.
textpow version 0.9.1 has been released!
A library for parsing TextMate[http://macromates.com/] bundles.
Changes:
FIX: Score manager now handles multiple subtractions in scope
definitions.
Dizan V. wrote:
textpow version 0.9.1 has been released!
A library for parsing TextMate[http://macromates.com/] bundles.
Changes:
0.9.1 / 2007-06-14
FIX: Score manager now handles multiple subtractions in scope
definitions.
Hmmmm, can you explain how multiple subtractions in scopes work?
I assume you’re talking about something like:
source.ruby - string - text.html.basic
Two questions:
(1) have you seen this come up in practice, and where?
(2) How are you interpreting this? As
source.ruby - (string - text.html.basic)
or
(source.ruby - string) - text.html.basic
or as something else entirely?
best
Dan
Dizan V. wrote:
Well, I’ve found them while debugging the Brilliance themes in
ultraviolet, they include many uses of this.
Yes, I see them now. OK thanks for the tip.
To be more precise: if any individual scope which is preceded by a
minus sign matches, then the score for the whole expression is zero
regardless of the non-minus matches.
Seems reasonable.
many thanks,
Dan
Two questions:
(1) have you seen this come up in practice, and where?
Well, I’ve found them while debugging the Brilliance themes in
ultraviolet, they include many uses of this.
(2) How are you interpreting this? As
source.ruby - (string - text.html.basic)
or
(source.ruby - string) - text.html.basic
or as something else entirely?
As
(source.ruby - string) - text.html.basic
To be more precise: if any individual scope which is preceded by a
minus sign matches, then the score for the whole expression is zero
regardless of the non-minus matches.
Cheers,
Dizan
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs