diff -Naur mc-4.7.0-pre1~/edit/edit.c mc-4.7.0-pre1/edit/edit.c
old
|
new
|
|
1896 | 1896 | edit_set_markers (edit, 0, 0, 0, 0); |
1897 | 1897 | edit->force |= REDRAW_PAGE; |
1898 | 1898 | } else { |
| 1899 | int curs_col = edit->curs_col - option_line_state_width; |
1899 | 1900 | if (edit->mark2 >= 0) { |
1900 | | edit_set_markers (edit, edit->curs1, -1, edit->curs_col, edit->curs_col); |
| 1901 | edit_set_markers (edit, edit->curs1, -1, curs_col, curs_col); |
1901 | 1902 | edit->force |= REDRAW_PAGE; |
1902 | 1903 | } else |
1903 | | edit_set_markers (edit, edit->mark1, edit->curs1, edit->column1, edit->curs_col); |
| 1904 | edit_set_markers (edit, edit->mark1, edit->curs1, edit->column1, curs_col); |
1904 | 1905 | } |
1905 | 1906 | } |
1906 | 1907 | |
diff -Naur mc-4.7.0-pre1~/edit/editcmd.c mc-4.7.0-pre1/edit/editcmd.c
old
|
new
|
|
943 | 943 | } else { |
944 | 944 | *start_mark = min (edit->mark1, edit->curs1); |
945 | 945 | *end_mark = max (edit->mark1, edit->curs1); |
946 | | edit->column2 = edit->curs_col; |
| 946 | edit->column2 = edit->curs_col - option_line_state_width; |
947 | 947 | } |
948 | 948 | return 0; |
949 | 949 | } else { |
… |
… |
|
1109 | 1109 | return; |
1110 | 1110 | if (column_highlighting) { |
1111 | 1111 | edit_update_curs_col (edit); |
1112 | | x = edit->curs_col; |
| 1112 | x = edit->curs_col - option_line_state_width; |
1113 | 1113 | if (start_mark <= edit->curs1 && end_mark >= edit->curs1) |
1114 | 1114 | if ((x > edit->column1 && x < edit->column2) |
1115 | 1115 | || (x > edit->column2 && x < edit->column1)) |
… |
… |
|
1148 | 1148 | if (!deleted) { |
1149 | 1149 | line = edit->curs_line; |
1150 | 1150 | edit_update_curs_col (edit); |
1151 | | x = edit->curs_col; |
| 1151 | x = edit->curs_col - option_line_state_width; |
1152 | 1152 | edit_block_delete_cmd (edit); |
1153 | 1153 | edit_move_to_line (edit, line); |
1154 | 1154 | edit_cursor_move (edit, |