Tidy barfs on webobject tags, because they're not real tags -- it
chokes the code that checks to make sure the tag you are using is
allowed inside of the parent (like <table> can contain <tr>, etc).
The original HTML version of the HTML editor used Tidy for error
checking, but I had to remove it because patching tidy to support
arbitrary tags like WO (which can appear anywhere) was a HUGE pain.
So I don't think JTidy is going to hook you up any time soon.
This is pretty much the #1 requested feature at this point, though,
so I'll step it up in priority.
ms
On May 30, 2007, at 10:57 AM, Brendan Duddridge wrote:
> Hi Lachlan,
>
> I also use TextMate, but I can't get the HTML Tidy command to work
> at all if there are any WO tags in the HTML. Do you know if there's
> a new HTML Tidy plug-in that fixes this? Whenever I try, all my
> HTML disappears in the TextMate window. BBEdit is too expensive.
>
> Thanks,
>
> ____________________________________________________________________
> Brendan Duddridge | CTO | 403-277-5591 x24 | brenda..lickspace.com
>
> ClickSpace Interactive Inc.
> Suite L100, 239 - 10th Ave. SE
> Calgary, AB T2G 0V9
>
> http://www.clickspace.com
>
> On May 29, 2007, at 9:45 PM, Lachlan Deck wrote:
>
>> On 30/05/2007, at 1:20 PM, Kieran Kelleher wrote:
>>
>>> FWIW, as I work on projects that have components created long ago
>>> in WOBuilder, every time I need to edit a component that is not
>>> formatted legibly (for example long horizontal lines), I have
>>> found that using BBEdit to format it (takes about 20 seconds) is
>>> worth the trouble. I basically have a BbEdit window always open
>>> with the HTML file type selected at bottom of the window. http://
>>> www.barebones.com/products/bbedit/demo.shtml
>>>
>>> Then in Eclipse I do a Cmd-A to select all the component HTML,
>>> paste into the BbEdit window, Cmd-A again to select all of what I
>>> just pasted in BBEdit, then select Markup/Utilities/Format menu,
>>> then Cmd-X to cut, then switch back to Eclipse (Cmd-tab), then
>>> paste Cmd-V. Now I have a nice hierarchially formatted html that
>>> is easier to work with.
>>
>> You might prefer doing this:
>> a) Preferences > General > File Associations > *.html
>> b) click Add... (Associated Editors)
>> c) click external programs, Browse... (I've chosen /usr/local/bin/
>> mate for TextMate)
>> d) click Default (optional)
>> e) if not default, right-click on file and select Open With >
>> 'editorOfChoice'.
>> g) if you save the file in the external program eclipse knows.
>>
>> That should save you a lot of copying/pasting.
>>
>>> Hopefully someday, we will have a format command in WOLips that
>>> will perform a similar style formatting.
>>
>> Sure.
>>
>>> On May 29, 2007, at 10:39 PM, Lachlan Deck wrote:
>>>
>>>> is there anything available that would toggle soft-wrapping the
>>>> html in the component editor?
>>>>
>>>> Currently I get no wrapping at all which is often fine but there
>>>> are times when I'd like to use a softwrap to save the horizontal
>>>> scrolling.
>>
>> with regards,
>> --
>>
>> Lachlan Deck
>>
>>
>>
>>
>
This archive was generated by hypermail 2.0.0 : Wed May 30 2007 - 11:37:18 EDT