geany/geany — pull request #57 by aeberspaecher (2012-08-03 14:17:32+00:00)
Title: Fix Python indentation after colons followed by inline comments

Only the last character on a line was tested against the colon.
However, it as inline comments after e.g. if and for statements are
allowed, it is wise to search for the last code character if the line
contains a comment.

The patch fails in case a "#" on a line does not start a comment,
e.g. in "if(c == "#"):".