Skip to content
  • Jason Harris's avatar
    As discussed on kstars-devel, applying whitespace fixes to our · 64526106
    Jason Harris authored
    codebase.  This is mostly about indenting with 4 spaces instead of
    TAB, but other changes were applied too.  I used the program "astyle"
    to apply the changes; the following configuration file was used:
    
    # brackets should be attached to pre-bracket lines
    brackets=attach
    # set 4 spaces per indent
    indent=spaces=4
    # indent case labels in switch blocks
    #indent-switches
    #indent "public"/"private"/etc. in classes
    indent-classes
    #insert blank line before/after blocks
    break-blocks
    #add empty space inside parentheses
    pad=paren-in
    #don't break one-line blocks
    one-line=keep-blocks
    
    
    Try to use these style options when writing new code.
    
    I did *NOT* run astyle in the htmesh or satlib directories, as these
    contain third-party code.  I also did NOT run it in indi, because I
    thought maybe Jasem would like to use his own style options there.
    
    I noticed a couple of problems with comment blocks; please fix these
    as you find them.
    
    CCMAIL: kstars-devel@kde.org
    
    
    svn path=/trunk/KDE/kdeedu/kstars/; revision=715584
    64526106