Microsoft.R.Core.Formatting.FormattingScope.Dispose C# (CSharp) Method

Dispose() public method

public Dispose ( ) : void
return void
        public void Dispose() {
            _tb.IndentBuilder.SetIndentLevel(_previousIndentLevel);
        }
    }

Usage Example

コード例 #1
0
ファイル: FormattingScopeStack.cs プロジェクト: mvacha/RTVS
 public void TryCloseScope(int tokenIndex)
 {
     if (_formattingScopes.Count > 1)
     {
         if (_formattingScopes.Peek().CloseCurlyBraceTokenIndex == tokenIndex)
         {
             FormattingScope scope = _formattingScopes.Pop();
             scope.Dispose();
         }
     }
 }
All Usage Examples Of Microsoft.R.Core.Formatting.FormattingScope::Dispose