Collapse HTML5 elements

View: New views
5 Messages — Rating Filter:   Alert me  

Collapse HTML5 elements

by Rodi-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I can't collapse blocks of code written with new HTML5 structural  
elements such as article, section and nav.

Is there a way to make them work? HTML4 elements work fine.

thanks,
Rodrigo

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Re: Collapse HTML5 elements

by Timothy Bates :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

someone will need to add the new elements to the bundle...
On 20 Oct 2009, at 19:39, Rodrigo Soares wrote:

> Hi,
>
> I can't collapse blocks of code written with new HTML5 structural
> elements such as article, section and nav.
>
> Is there a way to make them work? HTML4 elements work fine.
>
> thanks,
> Rodrigo
>
> _______________________________________________
> textmate mailing list
> textmate@...
> http://lists.macromates.com/listinfo/textmate


_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Re: Collapse HTML5 elements

by Darren Brierton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is why TextMate needs a DTD/Schema parser like PSGML-mode and  
nXML-mode provide for Emacs.

On 20 Oct 2009, at 22:26, Timothy Bates wrote:

> someone will need to add the new elements to the bundle...
> On 20 Oct 2009, at 19:39, Rodrigo Soares wrote:
>
>> Hi,
>>
>> I can't collapse blocks of code written with new HTML5 structural
>> elements such as article, section and nav.
>>
>> Is there a way to make them work? HTML4 elements work fine.
>>
>> thanks,
>> Rodrigo
>>
>> _______________________________________________
>> textmate mailing list
>> textmate@...
>> http://lists.macromates.com/listinfo/textmate
>
>
> _______________________________________________
> textmate mailing list
> textmate@...
> http://lists.macromates.com/listinfo/textmate


_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Re: Collapse HTML5 elements

by Édouard Gilbert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le 21 oct. 09 à 12:08, Darren Brierton a écrit :

> This is why TextMate needs a DTD/Schema parser like PSGML-mode and
> nXML-mode provide for Emacs.

I started working on something, but never took time to finish.

It's a XSTL stylesheet transforming Relax NG to TextMate grammar.
Last time I wanted to add some information needed for completion, but
had to take on something else and didn't finally get back to it.

Revisions up to current were only doing (unperfect) syntax coloring.

It's not working automatically and has quite a tendency to create long  
grammars.
Test on the very simple plist DTD (~ 20 lines) gives results nearly  
1000 lines long.
Probably way too much redundancy.

But I still can send it to you, if you'd like.

> On 20 Oct 2009, at 22:26, Timothy Bates wrote:
>
>> someone will need to add the new elements to the bundle...
>> On 20 Oct 2009, at 19:39, Rodrigo Soares wrote:
>>
>>> Hi,
>>>
>>> I can't collapse blocks of code written with new HTML5 structural
>>> elements such as article, section and nav.
>>>
>>> Is there a way to make them work? HTML4 elements work fine.
>>>
>>> thanks,
>>> Rodrigo
>>>
>>> _______________________________________________
>>> textmate mailing list
>>> textmate@...
>>> http://lists.macromates.com/listinfo/textmate
>>
>>
>> _______________________________________________
>> textmate mailing list
>> textmate@...
>> http://lists.macromates.com/listinfo/textmate
>
>
> _______________________________________________
> textmate mailing list
> textmate@...
> http://lists.macromates.com/listinfo/textmate
Édouard GILBERT
edouard.gilbert@...


[=?ISO-8859-1?Q?=C9douard_Gilbert.vcf?=]

BEGIN:VCARD
VERSION:3.0
N:Gilbert;Édouard;;;
FN:Édouard Gilbert
ORG:Université Charles de Gaulle — Lille 3;
EMAIL;type=INTERNET;type=WORK;type=pref:edouard.gilbert@...
TEL;type=WORK:+33 3 59 57 78 63
item1.ADR;type=WORK:;;INRIA Lille – Nord Europe\nParc Scientifique de la Haute Borne\nPark Plaza - Bât A - 40 avenue Halley;Villeneuve d'Ascq;;59650;France
item1.X-ABADR:fr
X-JABBER;type=WORK:edouard.gilbert@...
X-ABUID:C65CA7A2-8CEF-45B5-82FF-EA0F5934F3DE\:ABPerson
END:VCARD






_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Parent Message unknown Re: Collapse HTML5 elements

by Rodi-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you can send it to me I would appreciate it. Thanks!


On Thu, Oct 22, 2009 at 5:00 AM, ?douard Gilbert wrote:
----------------------------------------------------------------------

 Le 21 oct. 09 ? 12:08, Darren Brierton a ?crit :

> This is why TextMate needs a DTD/Schema parser like PSGML-mode and
> nXML-mode provide for Emacs.

I started working on something, but never took time to finish.

It's a XSTL stylesheet transforming Relax NG to TextMate grammar.
Last time I wanted to add some information needed for completion, but
had to take on something else and didn't finally get back to it.

Revisions up to current were only doing (unperfect) syntax coloring.

It's not working automatically and has quite a tendency to create long
grammars.
Test on the very simple plist DTD (~ 20 lines) gives results nearly
1000 lines long.
Probably way too much redundancy.

But I still can send it to you, if you'd like.

> On 20 Oct 2009, at 22:26, Timothy Bates wrote:
>
>> someone will need to add the new elements to the bundle...
>> On 20 Oct 2009, at 19:39, Rodrigo Soares wrote:
>>
>>> Hi,
>>>
>>> I can't collapse blocks of code written with new HTML5 structural
>>> elements such as article, section and nav.
>>>
>>> Is there a way to make them work? HTML4 elements work fine.
>>>
>>> thanks,
>>> Rodrigo
>>>
>>> _______________________________________________
>>> textmate mailing list
>>> textmate@...
>>> http://lists.macromates.com/listinfo/textmate
>>
>>
>> _______________________________________________
>> textmate mailing list
>> textmate@...
>> http://lists.macromates.com/listinfo/textmate
>
>
> _______________________________________________
> textmate mailing list
> textmate@...
> http://lists.macromates.com/listinfo/textmate

?douard GILBERT
edouard.gilbert@...

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate


_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate