Home | History | Annotate | Download | only in idlelib

Lines Matching refs:indentwidth

242         text.bind("<<change-indentwidth>>",self.change_indentwidth_event)
269 # indentwidth is not a multiple of tabwidth,
286 # indentwidth is the number of screen characters per indent level.
288 self.indentwidth = self.tabwidth
830 "Update the indentwidth
833 self.indentwidth = idleConf.GetOption('main', 'Indent','num-spaces',
1188 # indentwidth based on file content (if possible), and if
1189 # indentwidth != tabwidth set usetabs false.
1197 self.indentwidth = i
1198 if self.indentwidth != self.tabwidth:
1228 want = ((have - 1) // self.indentwidth) * self.indentwidth
1270 self.reindent_to(effective + self.indentwidth)
1277 n = self.indentwidth
1320 y = PyParse.Parser(self.indentwidth, self.tabwidth)
1404 effective = effective + self.indentwidth
1415 effective = max(effective - self.indentwidth, 0)
1471 self.indentwidth = 8
1487 initialvalue=self.indentwidth,
1490 if new and new != self.indentwidth and not self.usetabs:
1491 self.indentwidth = new
1547 initialvalue=self.indentwidth,
1551 # Guess indentwidth from text content.
1552 # Return guessed indentwidth. This should not be believed unless
1663 "<<change-indentwidth>>"}):