Lines Matching defs:direction
1212 so the caret can move in the same direction longer before the policy is applied again.
3998 void Editor::PageMove(int direction, selTypes sel, bool stuttered) {
4006 if (stuttered && (direction < 0 && currentLine > topStutterLine)) {
4010 } else if (stuttered && (direction > 0 && currentLine < bottomStutterLine)) {
4018 topLine + direction * LinesToScroll(), 0, MaxScrollPos());
4020 Point(lastXChosen, pt.y + direction * (vs.lineHeight * LinesToScroll())));
4133 void Editor::CursorUpOrDown(int direction, selTypes sel) {
4136 Point(lastXChosen, pt.y + direction * vs.lineHeight));
4137 if (direction < 0) {
4151 void Editor::ParaUpOrDown(int direction, selTypes sel) {
4154 MovePositionTo(direction > 0 ? pdoc->ParaDown(currentPos) : pdoc->ParaUp(currentPos), sel);
4156 if (direction > 0) {