Hello, 

I am planning to develop a code re-formatting plugin for geany. I want it to be more on the lines of Notepad++'s C++ re-indent plugin which is pretty awesome. 

The feature could be something like : user selects bunch of text and clicks beautify or maybe it works on the whole file by default.

Astyle <http://astyle.sourceforge.net/> is a small automatic formatter and released under LGPL. It is pretty small with loads of options. and supports C, C++, Java code. 

Can it be used for development of the plugin ?

Any feedback / comments would be appreciated.

Regards,
-- 
Nayan Shah