Hi
I am working on a glyph color indicator for code change, you might have a look there https://github.com/laurentkempe/GitDiffMargin (A Visual Studio 2012 extension to display Git Diff on the margin of the current file).
When a user collapse a region in the editor I get hook to the LayoutChanged event:
_textView.LayoutChanged += OnLayoutChanged;
private void OnLayoutChanged(object sender, TextViewLayoutChangedEventArgs e)
In LayoutChanged I know at which line there is a change and I want to display it on the margin, but when this line is not shown because it is collapsed I don't want to display the margin.
I don't find the way to know if a line number is visible/collapsed. How can I do that?
Cheers
Laurent
TechHeadBrothers - http://www.TechHeadBrothers.com