Searched refs:indentwidth (Results 1 – 14 of 14) sorted by relevance
/third_party/python/Lib/idlelib/ |
D | format.py | 271 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
|
D | pyparse.py | 127 def __init__(self, indentwidth, tabwidth): argument 128 self.indentwidth = indentwidth 490 extra = self.indentwidth
|
D | editor.py | 242 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)
|
D | config-keys.def | 57 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>
|
D | hyperparser.py | 32 parser = pyparse.Parser(editwin.indentwidth, editwin.tabwidth)
|
D | ChangeLog | 758 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
|
D | pyshell.py | 909 self.indentwidth = 4
|
/third_party/python/Lib/idlelib/idle_test/ |
D | test_format.py | 384 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)
|
D | test_parenmatch.py | 18 self.indentwidth = 8
|
D | test_pyparse.py | 28 cls.parser = pyparse.Parser(indentwidth=4, tabwidth=4) 35 self.assertEqual(self.parser.indentwidth, 4)
|
D | test_editor.py | 110 cls.window.indentwidth = 2
|
D | test_hyperparser.py | 12 self.indentwidth = 8
|
D | test_calltip.py | 277 self.indentwidth = 4
|
D | test_autocomplete.py | 20 self.indentwidth = 8
|