Skip to content
Snippets Groups Projects
Commit fcccdbe7 authored by George Nachman's avatar George Nachman
Browse files

Fix a bug where move start of selection forward by mark will jump over a mark...

Fix a bug where move start of selection forward by mark will jump over a mark when lines are adjacent. Issue 4154.
parent 58cb57ac
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3846,7 +3846,7 @@ static double EuclideanDistance(NSPoint p1, NSPoint p2) {
rangeExcludingFirstLine.coordRange.start.x = existingRange.columnWindow.location;
rangeExcludingFirstLine.coordRange.start.y =
MIN(_dataSource.numberOfLines,
[_dataSource lineNumberOfMarkAfterLine:rangeExcludingFirstLine.coordRange.start.y] + 1);
[_dataSource lineNumberOfMarkAfterLine:rangeExcludingFirstLine.coordRange.start.y - 1] + 1);
newRange = rangeExcludingFirstLine;
break;
}
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment