1
1

Ticket #2511: fix of column mark with alt-alrrow keys in mcedit.

This bug was introduces in 1374340aa2982b9ff0e53a61980a06f359dd46b9 commit.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Этот коммит содержится в:
Andrew Borodin 2011-03-31 10:32:27 +04:00
родитель 78019b896b
Коммит ae07d3a9d4

Просмотреть файл

@ -3447,6 +3447,17 @@ edit_execute_cmd (WEdit * edit, unsigned long command, int char_for_insertion)
case CK_MarkScrollDown:
case CK_MarkParagraphUp:
case CK_MarkParagraphDown:
/* a mark command with alt-arrow */
case CK_MarkColumnPageUp:
case CK_MarkColumnPageDown:
case CK_MarkColumnLeft:
case CK_MarkColumnRight:
case CK_MarkColumnUp:
case CK_MarkColumnDown:
case CK_MarkColumnScrollUp:
case CK_MarkColumnScrollDown:
case CK_MarkColumnParagraphUp:
case CK_MarkColumnParagraphDown:
edit->column_highlight = 0;
if (edit->highlight == 0 || (edit->mark2 != -1 && edit->mark1 != edit->mark2))
{