Re: Indentation and XMLBuddy

From: Date: Fri, 05 Jan 2007 13:01:41 +0000
Subject: Re: Indentation and XMLBuddy
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969374682@lists.php.net to get a copy of this message
Nuno, thanks. I will make sure I put them back to <para> text </para> before I check in.
Ok, thanks.
Do you know, perhaps, is there a way to use vim to reflow the contents of the entire file and sort out all the indentation in one go?
I'm not a VIm expert by no means. You can reindent a file by using: 1G=G (go to first line and indent until the last one). You can also rewrap some text by selecting it (shift-v in visual mode) and press gq. The problem is that these two command don't do what you were expecting (split <para>txt</para> into 3 lines). If you find a way to do it, please let me know ;) (so that we can add it to the dochowto). Nuno

« previous php.doc (#969374682) next »