On 06.04.2010, at 23:15, Matthias Melcher wrote:

> I have the problem that "indent" doubles up the "const" keyword at the end of 
> a function description. Very annoying. So maybe "indent" is not the way to 
> go? Or my particular version is buggy.

I didn't try indent, but I experimented with astyle and used
Ian's proposals, and I also found some *very* strange reformatting
that wouldn't be acceptable, IMHO. One example (formatted with
spaces, use fixed font to read):

   int       *a,    // pointer
             b;     // var
   char      *c;    // another pointer

becomes:

   int       *a,    // pointer
     b;     // var
   char      *c;    // another pointer

So or similar. Unusable. :-(

I don't know what Ian found, but I stopped testing ...

BTW: I used Fl_Help_View.cxx for my tests, because this is
definitely not in the correct FLTK style.

Maybe we could do a one-shot-formatting with manual cleanup?
Find another tool ?
Or leave it as it is ...

Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to