Fixed a regression pointed out by Rene:
* Select() did not adjust fClickOffset, which resulted in the cursor position not being where on would expect (noticable when pressing cursor-up/-down) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30184 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1537,7 +1537,7 @@ BTextView::Select(int32 startOffset, int32 endOffset)
|
|||||||
Highlight(start, end);
|
Highlight(start, end);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fSelStart = startOffset;
|
fSelStart = fClickOffset = startOffset;
|
||||||
fSelEnd = endOffset;
|
fSelEnd = endOffset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user