On 05.04.2010, at 22:08, none (Gombok) wrote: > Probably formatting documents could be overdone. > I would prefer only handling indentation and not tampering other > formatings like comments. (Exception may be to force spaces between > keywords and parameters like in "for (;;)", but thats not absolute > required)
One reason why we're discussing this is that we _have_ different coding styles in some files. Thus, only reformatting indentation would probably be suboptimal. > I dont understand the dislike of tabs for indentation, cause its up > to the user what width would be used on display. I don't understand this sentence. I agree that I also like tabs for indentation, but your sentence seems to imply that you think of indentation width == tab width, but this is not the case in our coding standard. Here, indentation width = 2, tab width = 8. Thus, if someone indents 4 levels with 4 tabs (width 2), then this is for me an indentation by 16 levels (4 tabs * 8 = 32 columns = 16 indent levels). > So anything between > start of line and the first character could be aligned with tabs. ... with tabs and (+) spaces ! I'm pro indenting with mixed tabs and spaces, because this is widely used, and the file sizes would increase otherwise (random measurement: 10-20 %). This would probably not be too much, if compressed in the tar balls, but svn updates and local working copies would be increased). Albrecht _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
