However, going back to my original case, I still get a cascading indent. I will try to reduce the size of that case, to be able to report it easier.
OK, the attached bar3.py, although it won't compile because it references variables that are not defined, is syntactically correct... except the lines 5 and beyond, are indented too far. So I select them, and choose Indent-region. Line 5 gets indented correctly. But lines 9 and beyond are indented too far.
This certainly fixed the test case, I reported.
However, going back to my original case, I still get a cascading indent. I will try to reduce the size of that case, to be able to report it easier.
OK, the attached bar3.py, although it won't compile because it references variables that are not defined, is syntactically correct... except the lines 5 and beyond, are indented too far. So I select them, and choose Indent-region. Line 5 gets indented correctly. But lines 9 and beyond are indented too far.