C# Class AvalonStudio.TextEditor.Document.DocumentChangeEventArgs

Inheritance: TextChangeEventArgs
Afficher le fichier Open project: VitalElement/AvalonStudio Class Usage Examples

Private Properties

Свойство Type Description
CreateSingleChangeMapEntry OffsetChangeMapEntry
SetOffsetChangeMap void

Méthodes publiques

Méthode Description
DocumentChangeEventArgs ( int offset, ITextSource removedText, ITextSource insertedText, OffsetChangeMap offsetChangeMap ) : System

Creates a new DocumentChangeEventArgs object.

DocumentChangeEventArgs ( int offset, string removedText, string insertedText ) : System

Creates a new DocumentChangeEventArgs object.

DocumentChangeEventArgs ( int offset, string removedText, string insertedText, OffsetChangeMap offsetChangeMap ) : System

Creates a new DocumentChangeEventArgs object.

GetNewOffset ( int offset, AnchorMovementType movementType = AnchorMovementType.Default ) : int

Gets the new offset where the specified offset moves after this document change.

Invert ( ) : TextChangeEventArgs

Private Methods

Méthode Description
CreateSingleChangeMapEntry ( ) : OffsetChangeMapEntry
SetOffsetChangeMap ( OffsetChangeMap offsetChangeMap ) : void

Method Details

DocumentChangeEventArgs() public méthode

Creates a new DocumentChangeEventArgs object.
public DocumentChangeEventArgs ( int offset, ITextSource removedText, ITextSource insertedText, OffsetChangeMap offsetChangeMap ) : System
offset int
removedText ITextSource
insertedText ITextSource
offsetChangeMap OffsetChangeMap
Résultat System

DocumentChangeEventArgs() public méthode

Creates a new DocumentChangeEventArgs object.
public DocumentChangeEventArgs ( int offset, string removedText, string insertedText ) : System
offset int
removedText string
insertedText string
Résultat System

DocumentChangeEventArgs() public méthode

Creates a new DocumentChangeEventArgs object.
public DocumentChangeEventArgs ( int offset, string removedText, string insertedText, OffsetChangeMap offsetChangeMap ) : System
offset int
removedText string
insertedText string
offsetChangeMap OffsetChangeMap
Résultat System

GetNewOffset() public méthode

Gets the new offset where the specified offset moves after this document change.
public GetNewOffset ( int offset, AnchorMovementType movementType = AnchorMovementType.Default ) : int
offset int
movementType AnchorMovementType
Résultat int

Invert() public méthode

public Invert ( ) : TextChangeEventArgs
Résultat TextChangeEventArgs