Ticket #61 (new defect) — at Initial Version
savannah: Misbehaving rectangular select in editor
Reported by: | slavazanko | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.7.0-pre2 |
Component: | mcedit | Version: | |
Keywords: | vertical selection | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | merged | Votes for changeset: |
Description
Original: Misbehaving rectangular select in editor
Submitted by: | Martin Petricek <bilboq> | Submitted on: | Fri 16 Mar 2007 05:16:01 PM UTC |
Category: | Editor | Severity: | 3 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Release: | current (CVS or snapshot) | Operating System: | GNU/Linux |
Discussion:
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. Also, if you remove the line with letters "x", so the line with "E" is first line of file, the selection from E to F will behave badly in other way - marking on first line seem to "lag behind") when selected from left to right, as you press the cursor movement keys.
Note: See
TracTickets for help on using
tickets.