/// <summary> /// Removes a text marker. /// </summary> /// <param name="item">The text marker.</param> public void RemoveMarker(TextMarker item) { markersTable.Clear(); textMarker.Remove(item); }
/// <summary> /// Inserts a text marker. /// </summary> /// <param name="index">The index at which to insert the marker.</param> /// <param name="item">The text marker.</param> public void InsertMarker(int index, TextMarker item) { markersTable.Clear(); textMarker.Insert(index, item); }
/// <summary> /// Adds a text marker. /// </summary> /// <param name="item">The text marker.</param> public void AddMarker(TextMarker item) { markersTable.Clear(); textMarker.Add(item); }