Table of Contents

Constructor TextUndo

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

TextUndo()

Initializes TextUndo class with default settings.

public TextUndo()

TextUndo(int, int, string, string)

Initializes TextUndo class with specified parameters.

public TextUndo(int start, int len, string text, string fileName = null)

Parameters

start int

Specifies start position of text fragment to delete.

len int

Specifies length of the text fragment to delete.

text string

Specifies text fragment to insert.

fileName string

TextUndo(Point, Point, string, string)

Initializes TextUndo class with specified parameters.

public TextUndo(Point start, Point end, string text, string fileName = null)

Parameters

start Point

Specifies start Point of text fragment to delete.

end Point

Specifies end Point of the text fragment to delete.

text string

Specifies text fragment to insert.

fileName string

Specifies file name where the change occurs.