id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
61	savannah: Misbehaving rectangular select in editor	slavazanko		"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. 
}}}
"	defect	new	major		mcedit								
