Lines Matching refs:tabsize

48 # -t tabsize : set the number of spaces a tab character is worth (default 8)
101 indentsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
105 self.tabsize = tabsize
122 self._write(line.expandtabs(self.tabsize))
154 tabs, spaces = divmod(indent*self.indentsize, self.tabsize)
266 indent = len(indentws.expandtabs(self.tabsize))
267 current = len(currentws.expandtabs(self.tabsize))
280 current = len(currentws.expandtabs(self.tabsize))
332 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
333 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
338 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
339 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
344 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
345 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
349 def complete_string(source, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
352 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
357 def delete_string(source, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
360 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
365 def reformat_string(source, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
368 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
390 def complete_file(filename, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
394 result = complete_string(source, stepsize, tabsize, expandtabs)
404 def delete_file(filename, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
408 result = delete_string(source, stepsize, tabsize, expandtabs)
418 def reformat_file(filename, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
422 result = reformat_string(source, stepsize, tabsize, expandtabs)
435 usage: pindent (-c|-d|-r) [-s stepsize] [-t tabsize] [-e] [file] ...
440 -t tabsize : the worth in spaces of a tab (default %(TABSIZE)d)
464 tabsize = TABSIZE
482 tabsize = int(a)
495 action(sys.stdin, sys.stdout, stepsize, tabsize, expandtabs)
499 action(filename, stepsize, tabsize, expandtabs)