Ok, this time for real.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9083 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c3c637606a
commit
91f868aeb7
@ -3088,9 +3088,11 @@ BTextView::HandlePageKey(uint32 inPageKey)
|
||||
if (CurrentLine() + 1 < fLines->NumLines()) {
|
||||
line = (*fLines)[CurrentLine() + 1];
|
||||
fClickOffset = PreviousInitialByte(line->offset);
|
||||
} else
|
||||
fClickOffset = fText->Length() - 1;
|
||||
|
||||
} else {
|
||||
fClickOffset = fText->Length();
|
||||
if (ByteAt(fClickOffset - 1) == B_ENTER)
|
||||
fClickOffset--;
|
||||
}
|
||||
ScrollToOffset(fClickOffset);
|
||||
if (shiftDown) {
|
||||
if (fClickOffset >= fSelEnd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user