Mono.TextEditor.TextViewMargin.RemoveCachedLine C# (CSharp) Method

RemoveCachedLine() public method

public RemoveCachedLine ( Mono.TextEditor.DocumentLine line ) : void
line Mono.TextEditor.DocumentLine
return void
		public void RemoveCachedLine (DocumentLine line)
		{
			if (line == null)
				return;
			textEditor.CheckUIThread ();
			LayoutDescriptor descriptor;
			if (layoutDict.TryGetValue (line, out descriptor)) {
				descriptor.Dispose ();
				layoutDict.Remove (line);
			}

			ChunkDescriptor chunkDesriptor;
			if (chunkDict.TryGetValue (line, out chunkDesriptor)) {
				chunkDict.Remove (line);
			}
		}