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