Home
last modified time | relevance | path

Searched refs:indentwidth (Results 1 – 14 of 14) sorted by relevance

/third_party/python/Lib/idlelib/
Dformat.py271 effective = effective + self.editwin.indentwidth
283 effective = max(effective - self.editwin.indentwidth, 0)
351 initialvalue=self.editwin.indentwidth,
375 editwin.indentwidth = 8
384 initialvalue=editwin.indentwidth,
387 if new and new != editwin.indentwidth and not editwin.usetabs:
388 editwin.indentwidth = new
Dpyparse.py127 def __init__(self, indentwidth, tabwidth): argument
128 self.indentwidth = indentwidth
490 extra = self.indentwidth
Deditor.py242 self.indentwidth = self.tabwidth
901 self.indentwidth = idleConf.GetOption('main', 'Indent','num-spaces',
1269 self.indentwidth = i
1270 if self.indentwidth != self.tabwidth:
1300 want = ((have - 1) // self.indentwidth) * self.indentwidth
1337 self.reindent_to(effective + self.indentwidth)
1344 n = self.indentwidth
1400 y = pyparse.Parser(self.indentwidth, self.tabwidth)
Dconfig-keys.def57 change-indentwidth=<Alt-Key-u> <Meta-Key-u> <Alt-Key-U> <Meta-Key-U>
117 change-indentwidth=<Alt-Key-u>
177 change-indentwidth = <Alt-Key-u>
237 change-indentwidth=<Control-Key-u>
275 change-indentwidth = <Control-Key-u>
Dhyperparser.py32 parser = pyparse.Parser(editwin.indentwidth, editwin.tabwidth)
DChangeLog758 usetabs=1 is the Emacs pymode default too, and thanks to indentwidth !=
762 set indentwidth to 8). Note that the whole scheme doesn't work right for
844 Unix bindings for <<toggle-tabs>> and <<change-indentwidth>> were
Dpyshell.py909 self.indentwidth = 4
/third_party/python/Lib/idlelib/idle_test/
Dtest_format.py384 self.indentwidth = 4
587 self.assertEqual(editor.indentwidth, 8)
591 self.assertEqual(editor.indentwidth, 8)
600 self.assertEqual(editor.indentwidth, 4)
604 self.assertEqual(editor.indentwidth, 3)
609 self.assertEqual(editor.indentwidth, 3)
Dtest_parenmatch.py18 self.indentwidth = 8
Dtest_pyparse.py28 cls.parser = pyparse.Parser(indentwidth=4, tabwidth=4)
35 self.assertEqual(self.parser.indentwidth, 4)
Dtest_editor.py110 cls.window.indentwidth = 2
Dtest_hyperparser.py12 self.indentwidth = 8
Dtest_calltip.py277 self.indentwidth = 4
Dtest_autocomplete.py20 self.indentwidth = 8