#35 incorrect indentation for comments

closed-fixed
None
5
2006-12-06
2006-12-06
stonec
No

In python, if you have a comment that ends in a colon, like:

# Initialize vars here:

If you press enter at the end of the line, geany will indent you over a single tab rather than putting the cursor right below the comment. In my opinion, you should also end up directly below the start of the above commented line. I have a bad habit of always ending my comments with colons, so it drives me a bit crazy ;)

Thanks.

Discussion

  • stonec
    stonec
    2006-12-06

    Logged In: YES
    user_id=934948
    Originator: YES

    s/you should also/you should always/

     
  • Enrico Tröger
    Enrico Tröger
    2006-12-06

    • assigned_to: nobody --> eht16
    • status: open --> closed-fixed
     
  • Enrico Tröger
    Enrico Tröger
    2006-12-06

    Logged In: YES
    user_id=1117045
    Originator: NO

    Thanks for reporting. Should be fixed in r1055.