<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Sep 10, 2015 at 6:13 PM, Andrew Maclean <span dir="ltr"><<a href="mailto:andrew.amaclean@gmail.com" target="_blank">andrew.amaclean@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>4) All the existing code needs to be retroformatted. Presumably you will write a script to do this. It would be a good idea to add this script (python?) to Utilities so that the Slicer people and others can easily reformat their code if so desired.</div></div></blockquote><div><br></div><div>I've written a python script to adjust the indentation, extra testing would be very welcome:</div><div><br></div>  <a href="https://gist.github.com/dgobbi">https://gist.github.com/dgobbi</a></div><div class="gmail_quote"><br></div><div class="gmail_quote">To apply it to a lot of files, I recommend doing something like this:</div><div class="gmail_quote"><br></div><div class="gmail_quote">  find <directories> -name "*.cxx" -exec python vtkindent.py {} +</div><div class="gmail_quote"><br></div><div class="gmail_quote"> - David<br><div> </div></div></div></div>