12 references to TabSize
Microsoft.CodeAnalysis.CodeStyle (12)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (1)
100Options.TabSize,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (3)
328length = text.GetTextColumn(_options.TabSize, initialColumn: 0); 338var initialColumn = _treeData.GetOriginalColumn(_options.TabSize, token); 339length = text.ConvertTabToSpace(_options.TabSize, initialColumn, text.Length);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\AbstractTriviaFormatter.cs (7)
611var position = lastText.ConvertTabToSpace(Options.TabSize, initialColumn, index); 612var tokenPosition = lastText.ConvertTabToSpace(Options.TabSize, initialColumn, lastText.Length); 788changes.Add(CreateWhitespace(delta.Spaces.CreateIndentationString(Options.UseTabs, Options.TabSize))); 814sb.AppendIndentationString(delta.Spaces, Options.UseTabs, Options.TabSize); 890spaces: text.ConvertTabToSpace(Options.TabSize, lineColumn.With(whitespaceBetween).Column, text.Length), 926spaces: lineText.GetColumnFromLineOffset(lineText.Length, Options.TabSize), 932spaces: text.ConvertTabToSpace(Options.TabSize, initialColumn, text.Length),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
58_tabSize = options.FormattingOptions.TabSize;