Skip to content

Commit

Permalink
change to start <= line <= end (#3078)
Browse files Browse the repository at this point in the history
* change to start <= line <= end

* trick build to execute

Co-authored-by: Tom Laird-McConnell <[email protected]>
  • Loading branch information
xieofxie and Tom Laird-McConnell committed Dec 20, 2019
1 parent 8c037e7 commit 58a0319
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@ consolidating using generics with POCO objects and shared base class

## 4.0.0-alpha201802027a
* Milan release


Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ orderby name.Length
options = from sourceItem in sourceByItem
let source = sourceItem.Value
where PathEquals(source.Path, row.Source.Path)
where source.StartPoint.LineIndex >= row.SourceBreakpoint.Line
let distance = Math.Abs(source.StartPoint.LineIndex - row.SourceBreakpoint.Line)
where source.StartPoint.LineIndex <= row.SourceBreakpoint.Line && source.EndPoint.LineIndex >= row.SourceBreakpoint.Line
let distance = row.SourceBreakpoint.Line - source.StartPoint.LineIndex
orderby distance
select sourceItem;
}
Expand Down

0 comments on commit 58a0319

Please sign in to comment.