> Emil Cataranciuc wrote:
> > Hello!
> > Do you guys have some coding conventions for FLTK project?
> > I am looking at the code and it is all messed up. At least when editing in 
> > vim indentation is bad, but of course that is not the biggest problem.
>
>       I'd suggest reporting indent issues with an STR.
>
>       Indenting of FLTK source should look correct in vi/vim with default 
> settings.
>
>       Question: do you have vim configured with a tabstop set to something 
> other than
>       the vim defaults? If so, that might be the reason.
>
>       FLTK source code should look correct in more(1) or cat(1), or from a 
> DOS window
>       with either 'more' or 'type'. If your vim editor looks different than 
> viewing
>       the file with any of those commands, suspect vim customizations for tab 
> related settings
>       that are other than the default.

Somebody uses spaces instead of tabs for indenting so that is why indentation 
is messed up (at least I think so).
I have tried cat, more, vim with default options and all of them gave me the 
same output (multiples of 2 spaces indent).

P.S. By the way, I am talking about FLTK 2. I am planing to develop it further. 
I see no point in starting a new FLTK version (3) with the same features but 
more widgets.

P.P.S. Sorry if my English is not very good. :-)
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to