On 31 March 2011 09:21, Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se> wrote:
>>> However, the line selection behavior is different on right and left click..
>>> I would expect them to behave the same way.
> ...
>>> Does anyone have an idea on how to make it possible to in an intuitive way select:
>>> 1.) A block*
>>> 2.) A single line
>>> 3.) A group of lines
>>>
>>> *A block is here defined as a selection that you can get by using the "Next difference" button.
>>
>> In many apps a single click positions the cursor, a double click
>> selects a word and a triple click selects a line. Also a click in the
>> left margin selects a line. TMerge currently has rather different
>> behaviour: double click highlights every occurrence of the word under
>> the cursor, triple click does nothing. Click in the left margin is the
>> same as a click at start of line. I'm not sure whether that
>> double-click 'search' shortcut is more useful than a 'select word'
>> shortcut, but that is another question.
>
> I totally forgot about the highlight-feature, which I absolutely love. It can really help a lot when navigating big files.
>
>> I suggest doing these with the left margin click:
>> single click: select line.
>> double-click: select diff-block (if there is one).
>> click and drag: select group of whole lines.
>
> Do you mean to only change the behavior on the left margin click?
Yes. Single click within the pane has to position the cursor because
TMerge supports editing.
> Perhaps the following could be used over all:
> single click: select line.
Only in left margin.
> double-click: highlight word.
Only in pane.
> triple-click: select diff-block (if there is one).
> click and drag: select group of whole lines.
>
> That would leave it pretty close to todays behavior but adding a (slightly cumbersome) shortcut for selecting a block.
>
> Another possibility would be:
> single click: select diff-block (if there is one).
> double-click: highlight word.
> single click in margin: select line.
> click and drag: select group of whole lines.
>
> This avoids the triple-clicking business, but has the drawback of obscuring the select single line action which might not be that good..?
The point of the left margin click is that it always works on whole
lines. Clicking in the pane can select to/from any character position.
So to summarise my proposal,
In-pane:
single click = position cursor
double-click = highlight word
click and drag = select text
Left-margin:
single-click = select whole line
double-click = select diff block (if available)
click and drag = select group of whole lines
I think this does everything without losing anything we currently
have, and without the need for triple click. Single-click in pane
currently does not select the line.
Simon
--
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2715568
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-03-31 11:22:01 CEST