I wasn't sure where google groups was gonna post this... I'm referring to http://groups-beta.google.com/group/haml/web/syntax-highlighting ... specifically the link to the jEdit haml.xml syntax highlighting file. The link to the .xml works in the Files section. Not sure of the "proper" way to link to it, but the link is currently a 404.
Mike
On Dec 27, 1:43 pm, "Mike Ferrier" <mferr...@gmail.com> wrote:
Kevin Ballard wrote: > I just edited the Syntax Highlighting page to reflect the fact that a > TextMate language grammar now exists in the official Bundles repository.
I don't think that's a good idea. The TextMate language grammar is not yet stabilized. For example, I just checked in a workaround for a problem highlighting comments inside ruby contexts in Haml.
The Syntax Highlighting page should probably just point to the instructions for fetching bundles from the repository (in TextMate FAQ) rather than bundling an out-of-date copy of the bundle.
Nathan Weizenbaum wrote: > Good idea. I went ahead and uploaded a copy of the syntax highlighting > to the group.
> - Nathan
> Kevin Ballard wrote: > > I just edited the Syntax Highlighting page to reflect the fact that a > > TextMate language grammar now exists in the official Bundles repository.
Kevin Ballard wrote: > I don't think that's a good idea. The TextMate language grammar is not > yet stabilized. For example, I just checked in a workaround for a > problem highlighting comments inside ruby contexts in Haml.
> The Syntax Highlighting page should probably just point to the > instructions for fetching bundles from the repository (in TextMate FAQ) > rather than bundling an out-of-date copy of the bundle.
I just wrote a syntax highlighting mode for Komodo and posted a screenshot to the Files section so anyone who's interested can see the results. Currently UDL, the syntax description language, doesn't have a way of indicating changes in indentation. I need to add it for Python as well as Haml to make that happen.
Tomorrow I'll post a xpi and the source to the ActiveState support site.
If a commercial screenshot doesn't belong in the Files section, I have no problem if it's removed. I don't want to post a xpi until I've tested it on another machine.
I am currently working on syntax highlight for textmate... Really all I am doing is extracting the scopes and releasing them for others to do their own colorizing.
Theoretically, it would be possible. We're thinking of adding support for functions in SassScript for version 2.0, and this could be done as one of those. We could do something like
I'm actually trying out their plugin on url versioning currently and see if it works as claimed. It would be important to tag the generation of the timestamp to AssetTagHelper such that there is a centralized place to modify the format of the version timestamp.
Nathan Weizenbaum wrote: > Theoretically, it would be possible. We're thinking of adding support > for functions in SassScript for version 2.0, and this could be done as > one of those. We could do something like
Just wanted to post and say that I've put together a Sass mode file for jEdit to join the Haml one posted already. Don't know where to put it though...
Are there any plans to add font-lock stuff to the emacs sass-mode? If not, maybe I'll give it a try. I don't really know lisp, but the haml- mode.el file looks like a great example...
On Jul 27, 4:58 am, Nathan Weizenbaum <nex...@gmail.com> wrote:
schmeic wrote: > Are there any plans to add font-lock stuff to the emacs sass-mode? If > not, maybe I'll give it a try. I don't really know lisp, but the haml- > mode.el file looks like a great example...
> On Jul 27, 4:58 am, Nathan Weizenbaum <nex...@gmail.com> wrote:
>> That would be me, originally, but Dmitry Galinsky and Dima did all the >> font-lock stuff.
I've tried to use Eclipse+RadRails plugin (net.lucky_dip.hamleditor_0.0.1.jar), but found it uncomfortable in some cases, specifically inability to set font attributes (bold/ italic/...) for lexems is very annoying.
caveats: * code folding only works if i don't include any ruby highlighting, code folding loses * the LineContinue element is hardcoded to work with \ so it'll be tricky to get highlight to follow haml's | delimited continuation