/// <summary> /// un register virtual text marker. /// </summary> /// <param name='marker'> /// marker. /// </param> public void UnRegisterVirtualTextMarker (IExtendingTextLineMarker marker) { var keys = new List<int> (from pair in virtualTextMarkers where pair.Value == marker select pair.Key); keys.ForEach (key => { virtualTextMarkers.Remove (key); CommitLineUpdate (key); }); }
public void RegisterVirtualTextMarker (int lineNumber, IExtendingTextLineMarker marker) { virtualTextMarkers[lineNumber] = marker; }