Allows registering a line tracker on a TextDocument using a weak reference from the document to the line tracker.

C# | Visual Basic | Visual C++ |
public sealed class WeakLineTracker : ILineTracker
Public NotInheritable Class WeakLineTracker _ Implements ILineTracker
public ref class WeakLineTracker sealed : ILineTracker

All Members | Methods | ||||
Icon | Member | Description |
---|---|---|
![]() | Deregister()()()() |
Deregisters the weak line tracker.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | Register(TextDocument, ILineTracker) |
Registers the targetTracker as line tracker for the textDocument.
A weak reference to the target tracker will be used, and the WeakLineTracker will deregister itself
when the target tracker is garbage collected.
|
![]() | ToString()()()() | (Inherited from Object.) |

Object | |
![]() | WeakLineTracker |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238