Fixed an annoying jump-to-last-line-on-END-bug (reported by Waldemar)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9082 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3089,7 +3089,7 @@ BTextView::HandlePageKey(uint32 inPageKey)
|
|||||||
line = (*fLines)[CurrentLine() + 1];
|
line = (*fLines)[CurrentLine() + 1];
|
||||||
fClickOffset = PreviousInitialByte(line->offset);
|
fClickOffset = PreviousInitialByte(line->offset);
|
||||||
} else
|
} else
|
||||||
fClickOffset = fText->Length();
|
fClickOffset = fText->Length() - 1;
|
||||||
|
|
||||||
ScrollToOffset(fClickOffset);
|
ScrollToOffset(fClickOffset);
|
||||||
if (shiftDown) {
|
if (shiftDown) {
|
||||||
|
|||||||
Reference in New Issue
Block a user