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.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static WeakLineTracker Register( TextDocument textDocument, ILineTracker targetTracker )
Public Shared Function Register ( _ textDocument As TextDocument, _ targetTracker As ILineTracker _ ) As WeakLineTracker
public: static WeakLineTracker^ Register( TextDocument^ textDocument, ILineTracker^ targetTracker )
Parameters
- textDocument (TextDocument)
- targetTracker (ILineTracker)
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238