Hi I want to extend standart diff editor. For this purpose I need correctly determine focused line position. How can I get this line position. I tryed to use IWpfTextViewLine.Start.GetContainingLine().LineNumber. But this solution take me all lines including removed lines.
For example I get line number "89" for removed line. Standart "Line numbers" margin excludes this line number. How can I do such things? May be there is some line property or other standart way.
Also it will be great if you share some simple sample how to run "Diff editor". I tried to find any information about it but cannot find something usefull. All what I find was namespace for C# "https://msdn.microsoft.com/en-us/library/microsoft.visualstudio.text.differencing.aspx".
Of course it describes interfaces and classes, but without samples I don't understand where can I get this interfaces and classes.
Best Regards, Alexander.