Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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>
<body>
<div>dsdsd</div><ul><li>baa</li><li>baa2</li></ul>
</body>
</pre>
into:
<pre>
<body>
<div>dsdsd</div>
<ul>
<li>
baa
</li>
<li>
baa2
</li>
</ul>
</body>
</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
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
Re: Edit your textpattern pages/forms/css in Textmate
Anyone still have this? Can’t seem to find it anywhere.
Offline
Re: Edit your textpattern pages/forms/css in Textmate
perhaps an updated version for 4.2.0? just got a macbook :P
Offline