C# Class ICSharpCode.NRefactory6.CSharp.TextPasteIndentEngine

Represents a decorator of an IStateMachineIndentEngine instance that provides logic for text paste events.
Inheritance: IDocumentIndentEngine, ITextPasteHandler
Mostra file Open project: powerumc/monodevelop_korean Class Usage Examples

Public Methods

Method Description
Clone ( ) : IDocumentIndentEngine
Push ( char ch ) : void
Reset ( ) : void
TextPasteIndentEngine ( IStateMachineIndentEngine decoratedEngine, OptionSet options ) : System

Creates a new TextPasteIndentEngine instance.

Update ( Microsoft.CodeAnalysis.Text.SourceText sourceText, int offset ) : void

Private Methods

Method Description
ICloneable ( ) : object
ITextPasteHandler ( Microsoft.CodeAnalysis.Text.SourceText sourceText, TextSpan segment ) : byte[]
ITextPasteHandler ( Microsoft.CodeAnalysis.Text.SourceText sourceText, int offset, string text, byte copyData ) : string

Method Details

Clone() public method

public Clone ( ) : IDocumentIndentEngine
return IDocumentIndentEngine

Push() public method

public Push ( char ch ) : void
ch char
return void

Reset() public method

public Reset ( ) : void
return void

TextPasteIndentEngine() public method

Creates a new TextPasteIndentEngine instance.
public TextPasteIndentEngine ( IStateMachineIndentEngine decoratedEngine, OptionSet options ) : System
decoratedEngine IStateMachineIndentEngine /// An instance of to which the /// logic for indentation will be delegated. ///
options OptionSet
return System

Update() public method

public Update ( Microsoft.CodeAnalysis.Text.SourceText sourceText, int offset ) : void
sourceText Microsoft.CodeAnalysis.Text.SourceText
offset int
return void