Currently, GetPythonIndent adds an indent after any line ending in a colon, but if a comment ends in a colon the next line should not be indented. I added a condition to check for a '#' at the start of the line. This seems to give me the desired behavior.
Hi!
Currently,
GetPythonIndent
adds an indent after any line ending in a colon, but if a comment ends in a colon the next line should not be indented. I added a condition to check for a '#' at the start of the line. This seems to give me the desired behavior.Cheers,
Joseph