Please sign in to comment.
Fix "InvalidOperationException: Trying to build visual line from coll…
…apsed line": When the last line in the document was collapsed, the method HeightTree.GetNodeByVisualPosition(position after end of document) was returning the last line in the document, when it should have returned the last non-collapsed line. Also fixed a minor bug in FoldingMargin (missing end marker when folding starts above viewport and ends on last line of document).
- Loading branch information...
Showing with 25 additions and 17 deletions.