diff --git a/edit/edit.c b/edit/edit.c index 74dfbae4b..1384da5ef 100644 --- a/edit/edit.c +++ b/edit/edit.c @@ -2867,6 +2867,8 @@ edit_execute_cmd (WEdit *edit, int command, int char_for_insertion) case CK_Tab: /* if text marked shift block */ if ( edit->mark1 != edit->mark2 && !option_persistent_selections ) { + if (edit->mark2 < 0) + edit_mark_cmd (edit, 0); edit_move_block_to_right (edit); } else { if ( option_cursor_beyond_eol )