Home | History | Annotate | Download | only in idlelib

Lines Matching refs:indentwidth

234         text.bind("<<change-indentwidth>>",self.change_indentwidth_event)
267 # indentwidth is not a multiple of tabwidth,
284 # indentwidth is the number of screen characters per indent level.
286 self.indentwidth = self.tabwidth
822 "Update the indentwidth if changed and not using tabs in this window"
825 self.indentwidth = idleConf.GetOption('main', 'Indent','num-spaces',
1179 # indentwidth based on file content (if possible), and if
1180 # indentwidth != tabwidth set usetabs false.
1188 self.indentwidth = i
1189 if self.indentwidth != self.tabwidth:
1219 want = ((have - 1) // self.indentwidth) * self.indentwidth
1261 self.reindent_to(effective + self.indentwidth)
1268 n = self.indentwidth
1311 y = PyParse.Parser(self.indentwidth, self.tabwidth)
1395 effective = effective + self.indentwidth
1406 effective = max(effective - self.indentwidth, 0)
1462 self.indentwidth = 8
1478 initialvalue=self.indentwidth,
1481 if new and new != self.indentwidth and not self.usetabs:
1482 self.indentwidth = new
1538 initialvalue=self.indentwidth,
1542 # Guess indentwidth from text content.
1543 # Return guessed indentwidth. This should not be believed unless
1654 "<<change-indentwidth>>"}):