Cycling through indentations (for a region )
Asked by
James Jong
Is there a way to have Python-mode cycle through possible indentations for a full region?
e.g. say I have:
if condition:
something
something_
something_
something_
There are two possible indentations for the last three lines (inside or outside the if statement). I would like to cycle through the these two possible indentations when I have the last three lines selected. Is this possible in python-mode?
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask James Jong for more information if necessary.
To post a message you must log in.