On Tuesday 19 March 2002 6:16 pm, Jean-Marc Lasgouttes wrote:
> Angus> Ok. So do you hit tab on every line or is there a command to
> Angus> format the whole thing prettily?
>
> For a {} block, I put the cursor on the opening { and use M-C-q.
>
> For a whole region, use the menu entry C++>Indent line of region.
>
> Difficult, isn't it?

If you don't know the command, yes...

Incidentally, highlighting a region and typing M-x indent-region works fine, 
but it doesn't remove whitespace from otherwise empty lines. Know the command 
for that?

Regards,
Angus

Reply via email to