mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Ticket #1492
fixed: indentation block when selecting with F3 Signed-off-by: Ilia Maslakov <il.smind@google.com>
This commit is contained in:
parent
6cb3400f1b
commit
6717960d5b
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user