Irregularities with multiple / rectangular selections

1 view
Skip to first unread message

Florian Balmer

unread,
Oct 14, 2009, 12:57:57 PM10/14/09
to scintilla-interest
I noticed some irregularities with multiple / rectangular selections
for the current branch of Scintilla (CVS-2009-10-14):

* Rectangular selections created with Alt+Left Mouse Button can only
be started from the top left corner (position 0), even if the initial
click to set the anchor is in a different position. Everything works
fine for rectangular selections created by keyboard navigation Alt
+Shift+Arrows.

* SCI_LINEDUPLICATE on a rectangular selection causes each selected
line to be duplicated. This creates multiple discontinuous selections,
even if multiple selections have been disabled.

--Florian

Neil Hodgson

unread,
Oct 15, 2009, 7:07:08 AM10/15/09
to scintilla...@googlegroups.com
Florian Balmer:

> * Rectangular selections created with Alt+Left Mouse Button can only
> be started from the top left corner (position 0), even if the initial
> click to set the anchor is in a different position. Everything works
> fine for rectangular selections created by keyboard navigation Alt
> +Shift+Arrows.

This was a regression caused by fixing Shift+Alt+Click. Fixed now.

> * SCI_LINEDUPLICATE on a rectangular selection causes each selected
> line to be duplicated. This creates multiple discontinuous selections,
> even if multiple selections have been disabled.

Changed to select all the characters in the original selection
plus the duplicates of these characters. This is different for other
cases of duplication and was done to avoid holes in the selection.

Neil

Florian Balmer

unread,
Oct 16, 2009, 6:06:44 AM10/16/09
to scintilla-interest
Thanks for the fixes.
--Florian
Reply all
Reply to author
Forward
0 new messages