Albrecht Schlosser wrote: > 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
Remember what other people said ! I think that people that is making astyle are like us, they are trying to make a good tool and for that they need the feedback of users and ideas to improve it, for sure if we expose the problems we found they will try to solve it. (if the answer doesn't seem right, fix the program (or file a bug), don't work around it) _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
