Ticket #1553 (new defect) — at Initial Version

Opened 15 years ago

Last modified 15 years ago

Misbehaving rectangular select in editor

Reported by: angel_il Owned by:
Priority: major Milestone: 4.7.0-pre4
Component: mc-core Version: master
Keywords: Cc: bilbo,
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

Fri 16 Mar 2007 05:16:01 PM UTC, original submission:

Rectangular selection behave wrong when selected from right to left
and/or bottom to top. How to reproduce:

Type (or copy and paste) following text in the MC editor:

xxxxxxxxxxxxxxxxxxx
EaaaaaaaaaaaaaaaaaG
bbbbbbbbbbbbbbbbbbb
ccccccccccccccccccc
HdddddddddddddddddF

Now move the cursor to the letter "E", press Shift+F3 (start or
rectangular selection) and move by cursor arrows to letter "F"
(select from left to right). Selection works normally, you selected
a rectangle. But now unselect all (for example by clicking mouse in
editor), move cursor to letter "F", press Shift+F3 to start
selection and move to letter "E" by using arrows (select from right
to left). Note that the block is missing the last column (with row
F) and if you copy the block, the last column will not be copied.
Even worse behavior will be encountered if you select starting from
letter "G" and ending at letter "H" (top and bottom lines are not
selected). Same with selecting from H to G.

This part II of #61

Note: See TracTickets for help on using tickets.