Home
last modified time | relevance | path

Searched full:tabwidth (Results 1 – 25 of 45) sorted by relevance

12

/third_party/python/Lib/idlelib/idle_test/
Dtest_editor.py37 for tabwidth in [1, 2, 4, 6, 8]:
39 with self.subTest(line=line, tabwidth=tabwidth):
41 editor.get_line_indent(line, tabwidth=tabwidth),
56 # Spaces not divisible by tabwidth.
66 editor.get_line_indent(line, tabwidth=4),
81 # Spaces not divisible by tabwidth.
91 editor.get_line_indent(line, tabwidth=8),
111 cls.window.tabwidth = 2
/third_party/python/Lib/idlelib/
Dformat.py202 def get_line_indent(line, tabwidth): argument
206 the tabs into spaces, as done by str.expandtabs(tabwidth).
209 return m.end(), len(m.group().expandtabs(tabwidth))
270 raw, effective = get_line_indent(line, self.editwin.tabwidth)
282 raw, effective = get_line_indent(line, self.editwin.tabwidth)
322 tabwidth = self._asktabwidth()
323 if tabwidth is None:
328 raw, effective = get_line_indent(line, tabwidth)
329 ntabs, nspaces = divmod(effective, tabwidth)
337 tabwidth = self._asktabwidth()
[all …]
Deditor.py222 # indentwidth is not a multiple of tabwidth,
233 # tabwidth is the display width of a literal tab character.
237 # Nobody expects this, so for now tabwidth should never be changed.
238 self.tabwidth = 8 # must remain 8 until Tk is fixed.
242 self.indentwidth = self.tabwidth
1270 if self.indentwidth != self.tabwidth:
1272 self.set_tk_tabwidth(self.tabwidth)
1297 tabwidth = self.tabwidth
1298 have = len(chars.expandtabs(tabwidth))
1306 have = len(chars.expandtabs(tabwidth))
[all …]
Dsqueezer.py34 Tabs are considered tabwidth characters long.
36 tabwidth = 8 # Currently always true in Shell.
62 current_column += tabwidth - (current_column % tabwidth)
68 current_column = tabwidth
286 Tabs are considered tabwidth characters long.
Dpyparse.py127 def __init__(self, indentwidth, tabwidth): argument
129 self.tabwidth = tabwidth
491 return len(code[i:j].expandtabs(self.tabwidth)) + extra
558 self.tabwidth)) + 1
/third_party/libusb/Xcode/libusb.xcodeproj/
Dproject.pbxproj209 …ileType = sourcecode.c.c; path = hotplugtest.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1…
215 …tKnownFileType = sourcecode.c.c; path = core.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1…
216 …FileType = sourcecode.c.c; path = descriptor.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1…
217 …astKnownFileType = sourcecode.c.c; path = io.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1…
218 …nownFileType = sourcecode.c.h; path = libusb.h; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1…
219 …ownFileType = sourcecode.c.h; path = libusbi.h; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1…
220 …FileType = sourcecode.c.c; path = darwin_usb.c; sourceTree = "<group>"; tabWidth = 2; usesTabs = 0…
221 …FileType = sourcecode.c.h; path = darwin_usb.h; sourceTree = "<group>"; tabWidth = 2; usesTabs = 0…
222 …eType = sourcecode.c.c; path = threads_posix.c; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1…
223 …eType = sourcecode.c.h; path = threads_posix.h; sourceTree = "<group>"; tabWidth = 4; usesTabs = 1…
[all …]
/third_party/skia/
D.clang-format102 TabWidth: 4
193 TabWidth: 4
/third_party/node/deps/npm/node_modules/socks/
D.prettierrc.yaml3 tabWidth: 2
/third_party/node/deps/npm/node_modules/smart-buffer/
D.prettierrc.yaml3 tabWidth: 2
/third_party/typescript_eslint/
D.prettierrc.json12 "tabWidth": 2, number
/third_party/mesa3d/src/intel/ds/
D.clang-format18 TabWidth: '3'
/third_party/mesa3d/src/panfrost/ds/
D.clang-format18 TabWidth: '3'
/third_party/mesa3d/src/tool/pps/
D.clang-format18 TabWidth: '3'
/third_party/python/Tools/peg_generator/
D.clang-format15 TabWidth: 4
/third_party/elfio/
D.clang-format33 TabWidth : 4
/third_party/harfbuzz/
D.clang-format5 TabWidth: 8
/third_party/skia/third_party/externals/harfbuzz/
D.clang-format5 TabWidth: 8
/third_party/flutter/skia/third_party/externals/harfbuzz/
D.clang-format5 TabWidth: 8
/third_party/mesa3d/src/gallium/drivers/swr/
D.clang-format47 TabWidth: 8
/third_party/json/
D.clang-format83 TabWidth: 4
/third_party/python/Tools/scripts/
Duntabify.py18 print("usage:", sys.argv[0], "[-t tabwidth] file ...")
/third_party/node/
D.clang-format110 TabWidth: 8
/third_party/nghttp2/
D.clang-format123 TabWidth: 8
/third_party/skia/third_party/externals/swiftshader/
D.clang-format115 TabWidth: 4
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/
D_clang-format112 TabWidth: 4

12