[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: TortoiseMerge right click behavior

From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: Thu, 31 Mar 2011 08:21:45 +0000

>> 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?

Perhaps the following could be used over all:
single click: select line.
double-click: highlight word.
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..?

Hans-Emil

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2715558

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-03-31 10:21:57 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.