Yep, is it crappy, but it was a quick hack to get the job done today.
I tried Eclipse Tidy (aka HTML Tidy) 2 weeks ago .... but it seemed
to be useless for WOComponent snippets and subcomponents .... anyway
most of the built-in inline shortcuts are already lowercase and there
are only about 3 or 4 custom conditionals I need to use inline beyond
the built-in shortcuts, so I will make real lowercase shortcuts for
them rather than use any case sensitive class names. This one below
just caught me off guard when I formatted today ....
Thanks for feedback,
Cheers, Kieran
On May 14, 2007, at 4:22 PM, Anjo Krank wrote:
>
> Am 14.05.2007 um 18:58 schrieb Kieran Kelleher:
>
>> // This one caters for situations where BBEdit lowercases
>> the ERXEqualConditional during formatting
>> // ... and I don't want to give up BBEdit formatting until
>> we have a HTML Format command built into the WOLips component editor
>> WOHelperFunctionHTMLTemplateParser.registerTagShortcut
>> ("ERXEqualConditional", "erxequalconditional");
>
> Sorry Kieran, this is a totally crappy fix. Next time, it'll be
> some other component. The only way to deal with it to tell the
> maker of BBEdit to let you specify exceptions on lowercase
> formatting. Or use some xml tool for formatting or find some
> eclipse plugin or whatever.
>
> Cheers, Anjo
>
This archive was generated by hypermail 2.0.0 : Mon May 14 2007 - 16:44:03 EDT