120 |
if ( $d < 0 && $screen_line == 0 ) { |
if ( $d < 0 && $screen_line == 0 ) { |
121 |
if ( $pos > 0 ) { |
if ( $pos > 0 ) { |
122 |
$o--; |
$o--; |
123 |
|
$pos--; |
124 |
} else { |
} else { |
125 |
$error_text = "Already at Begin."; |
$error_text = "Already at Begin."; |
126 |
} |
} |
128 |
} elsif ( $d > 0 && $screen_line == $last_screen_line ) { |
} elsif ( $d > 0 && $screen_line == $last_screen_line ) { |
129 |
if ( $pos <= $#lines ) { |
if ( $pos <= $#lines ) { |
130 |
$o++; |
$o++; |
131 |
|
$pos++; |
132 |
} else { |
} else { |
133 |
$error_text = "Already at End."; |
$error_text = "Already at End."; |
134 |
} |
} |