We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b8dc31 commit fe5c631Copy full SHA for fe5c631
Lib/idlelib/editor.py
@@ -1399,7 +1399,7 @@ def smart_dedent_event(self, event):
1399
if index2line(first) != index2line(last):
1400
return self.dedent_region_event(event)
1401
prefix = self.text.get('insert linestart', 'insert')
1402
- raw, effective = classifyws(prefix, self.tabwidth)
+ raw, effective = get_line_indent(prefix, self.tabwidth)
1403
if raw == len(prefix):
1404
# Only whitespace to the left
1405
self.reindent_to(effective - self.indentwidth)
0 commit comments