Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-05-28 20:27:55

domfucssion
Plugin Author
Registered: 2004-10-23
Posts: 39

Re: Edit your textpattern pages/forms/css in Textmate

hi again, thanks for your suggestion, but it didn’t do it for me,

here’s what I am trying to do in textmate.
format:
<pre>
&lt;body&gt;
&lt;div&gt;dsdsd&lt;/div&gt;&lt;ul&gt;&lt;li&gt;baa&lt;/li&gt;&lt;li&gt;baa2&lt;/li&gt;&lt;/ul&gt;
&lt;/body&gt;
</pre> into:
<pre> &lt;body&gt; &lt;div&gt;dsdsd&lt;/div&gt; &lt;ul&gt; &lt;li&gt; baa &lt;/li&gt; &lt;li&gt; baa2 &lt;/li&gt; &lt;/ul&gt; &lt;/body&gt;
</pre>

Offline

#14 2006-05-29 07:17:59

wosh
Member
Registered: 2005-01-15
Posts: 12

Re: Edit your textpattern pages/forms/css in Textmate

I see, yes the indent selection command only does indentation, no linebreaks.
Try the Bundles->html->tidy command (ctrl-shift-h). That seems to do what you want.

Offline

#15 2006-10-01 02:25:38

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: Edit your textpattern pages/forms/css in Textmate

@domfuccsion,

In the latest Textpattern Bundle, I have included a command, that will do that for you.
(It uses a perl script taken of course from elsewhere)
The only thing you need to do is, press opt cmd shift F (when you are in text.html.txp scope), and you get the human readable source format in your document, your asking for,
although it is not the same as tab indenting, but I used it a lot these days with some huge html templates, that have all sorts of divitis and white space there from cutting and pasting, and then with just one key stroke, I get back to where I was before.

Just thought , you might find this useful .

you can get latest v <a href=“http://www.consking.com/file_download/31”>here</a>

@Bastiaan, I’d like to try out your Bundle, but can’t find the download link.

regards, marios

Last edited by marios (2006-10-01 03:00:47)


⌃ ⇧ < ⌃ ⇧ >

Offline

#16 2006-10-01 03:22:43

domfucssion
Plugin Author
Registered: 2004-10-23
Posts: 39

Re: Edit your textpattern pages/forms/css in Textmate

Thanks Marios, I’ll give it another go

Offline

#17 2006-12-27 21:46:01

jamiew
Archived Plugin Author
From: NYC
Registered: 2005-01-08
Posts: 74
Website

Re: Edit your textpattern pages/forms/css in Textmate

bump. vivified has been for ages and i’d love to get at this…

Offline

#18 2006-12-28 03:28:43

Ulti
New Member
Registered: 2006-09-16
Posts: 3

Re: Edit your textpattern pages/forms/css in Textmate

I was looking for it, too. Google led me to this

Offline

#19 2009-09-05 20:09:37

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: Edit your textpattern pages/forms/css in Textmate

Anyone still have this? Can’t seem to find it anywhere.

Offline

#20 2009-10-02 10:54:18

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Edit your textpattern pages/forms/css in Textmate

perhaps an updated version for 4.2.0? just got a macbook :P

Offline

Board footer

Powered by FluxBB