Table of Contents

Class UndoList

Namespace
Alternet.Editor.TextSource
Assembly
Alternet.Editor.v9.dll

Provides an indexed access to undo data.

public class UndoList : List<IUndoData>, IList, ICollection, IReadOnlyList<IUndoData>, IReadOnlyCollection<IUndoData>, IUndoList, IList<IUndoData>, ICollection<IUndoData>, IEnumerable<IUndoData>, IEnumerable, IUpdate
Inheritance
UndoList
Implements
Extension Methods

Properties

UndoCount

Determines number of undo operations stored in the list.

UpdateCount

Keeps track of calls to BeginUpdate and EndUpdate so that they can be nested.

Methods

Add(IUndoData)

Adds an item to the collection.

BeginUpdate()

Prevents undo list updating until calling IUndoList.EndUpdate method.

Clear()

Clears entire collection.

DisableUpdate()

Prevents undo list updating until calling IUndoList.EndUpdate method.

EnableUpdate()

Re-enables undo list updating, that was turn of by calling IUndoList.BeginUpdate method.

EndUpdate()

Re-enables undo list updating, that was turn of by calling IUndoList.BeginUpdate method.

RemoveAt(int)

Removes item at the specified index.

Update()

Rescans the undo list.