Home | History | Annotate | Download | only in scripts

Lines Matching refs:TABSIZE

48 # -t tabsize : set the number of spaces a tab character is worth (default 8)
83 TABSIZE = 8
103 indentsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
107 self.tabsize = tabsize
124 self._write(line.expandtabs(self.tabsize))
156 tabs, spaces = divmod(indent*self.indentsize, self.tabsize)
268 indent = len(indentws.expandtabs(self.tabsize))
269 current = len(currentws.expandtabs(self.tabsize))
282 current = len(currentws.expandtabs(self.tabsize))
334 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
335 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
340 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
341 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
346 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
347 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
351 def complete_string(source, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
354 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
359 def delete_string(source, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
362 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
367 def reformat_string(source, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
370 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs)
392 def complete_file(filename, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
396 result = complete_string(source, stepsize, tabsize, expandtabs)
406 def delete_file(filename, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
410 result = delete_string(source, stepsize, tabsize, expandtabs)
420 def reformat_file(filename, stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS):
424 result = reformat_string(source, stepsize, tabsize, expandtabs)
437 usage: pindent (-c|-d|-r) [-s stepsize] [-t tabsize] [-e] [file] ...
442 -t tabsize : the worth in spaces of a tab (default %(TABSIZE)d)
466 tabsize = TABSIZE
484 tabsize = int(a)
497 action(sys.stdin, sys.stdout, stepsize, tabsize, expandtabs)
501 action(filename, stepsize, tabsize, expandtabs)