moving: don't do an automatic smart home with Ctrl+Up and Ctrl+Down
It is nicer to have a predictable cursor position and not see it hop left and right on differently indented lines.master
parent
f3e8991206
commit
992533b91e
|
@ -230,7 +230,6 @@ void do_prev_block(void)
|
||||||
|
|
||||||
openfile->current_x = 0;
|
openfile->current_x = 0;
|
||||||
edit_redraw(was_current);
|
edit_redraw(was_current);
|
||||||
do_home();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Move to the next block of text in the file. */
|
/* Move to the next block of text in the file. */
|
||||||
|
@ -249,7 +248,6 @@ void do_next_block(void)
|
||||||
|
|
||||||
openfile->current_x = 0;
|
openfile->current_x = 0;
|
||||||
edit_redraw(was_current);
|
edit_redraw(was_current);
|
||||||
do_home();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Move to the previous word in the file. If allow_punct is TRUE, treat
|
/* Move to the previous word in the file. If allow_punct is TRUE, treat
|
||||||
|
|
Loading…
Reference in New Issue