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

Re: TortoiseMerge 1.7: clicking at end of line positions caret before last char

From: Oto BREZINA <otik_at_printflow.eu>
Date: Wed, 14 Sep 2011 20:54:48 +0200

On 2011-09-14 18:20, Dave Huang wrote:
> On both XP SP3 and Win7 x64 SP1
> TortoiseMerge 1.6.99, Build 21964 - 32 Bit -dev, 2011/09/10 23:11:56
> libsvn_diff 1.7.0, -dev
> apr 1.4.5
> apr-utils 1.3.12
>
> Start TortoiseMerge and diff two files. Click to the right of a line in either pane.
>
> Expected: caret is positioned after rightmost character of the line
> Actual: caret is positioned before rightmost character of the line
>
Thanks for report. If I'm right this only happen on wrapped lines.
If this is true, this is intended - can be bad design through. When I
was about to implement this I asked about this on dev list as I was not
on user list at that time. There was no real answer.
I checked other editors to check what is common behaviour here and
implement it.

When line is wrapped or not there should be no difference in moving over
it using left and right arrow. As caret after last char on line and
before first char of next line is same position, caret is placed on next
line.
When using mouse caret can not be placed on start of next line that
would be confusing even more, so is placed on last recheable position.
It may be bit unusal while trying select some part of text with mouse.

What I see to be bit messing is that delimetering chars (space, tab) are
on start of line this is nice to easily identify wrapped line, but is
bit confusing when trying move caret at end of line.

I hope this make sense. If you have idea how to solve this better let me
know.

Oto

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-09-14 20:55:11 CEST

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

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