Table of Contents

Constructor HistoryTextItemEventArgs

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

HistoryTextItemEventArgs(List<List<Cell>>, Point, TextEditingLineStatus, HistoryTextItemEventArgs)

Initializes a new instance of the HistoryTextItemEventArgs class with the specified lines, cursor position, line status, and associated removed line.

public HistoryTextItemEventArgs(List<List<Cell>> lines, Point curPos, TextEditingLineStatus linesStatus, HistoryTextItemEventArgs removedOnAdded)

Parameters

lines List<List<Cell>>

The lines of text affected by the change.

curPos Point

The cursor position at the time of the change.

linesStatus TextEditingLineStatus

The status of the line(s) affected by the change.

removedOnAdded HistoryTextItemEventArgs

The associated HistoryTextItemEventArgs for a removed line when an added line replaces it.

HistoryTextItemEventArgs(HistoryTextItemEventArgs, HistoryTextItemEventArgs)

Initializes a new instance of the HistoryTextItemEventArgs class by copying an existing instance and associating it with a removed line.

public HistoryTextItemEventArgs(HistoryTextItemEventArgs historyTextItem, HistoryTextItemEventArgs removedOnAdded)

Parameters

historyTextItem HistoryTextItemEventArgs

The existing HistoryTextItemEventArgs to copy.

removedOnAdded HistoryTextItemEventArgs

The associated HistoryTextItemEventArgs for a removed line when an added line replaces it.

HistoryTextItemEventArgs(List<List<Cell>>, Point, TextEditingLineStatus)

Initializes a new instance of the HistoryTextItemEventArgs class with the specified lines, cursor position, and line status.

public HistoryTextItemEventArgs(List<List<Cell>> lines, Point curPos, TextEditingLineStatus linesStatus)

Parameters

lines List<List<Cell>>

The lines of text affected by the change.

curPos Point

The cursor position at the time of the change.

linesStatus TextEditingLineStatus

The status of the line(s) affected by the change.

HistoryTextItemEventArgs(HistoryTextItemEventArgs)

Initializes a new instance of the HistoryTextItemEventArgs class by copying an existing instance.

public HistoryTextItemEventArgs(HistoryTextItemEventArgs historyTextItem)

Parameters

historyTextItem HistoryTextItemEventArgs

The existing HistoryTextItemEventArgs to copy.