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

Patch: Off by one when right clicking M-to-N replacements

From: Dmitry <wipedout_at_yandex.ru>
Date: Tue, 06 Apr 2010 12:12:08 +0400

Hey.

The attached patch is to fix the following wrong behavior. Open a file in a working copy, delete last 5 (deleting more lines won't hurt) lines and replace them with one line. Spawn TMerge to show the diff. Now when you right-click on any of the empty lines of the change region in the right pane the selection is put from the first changed line and up to the line preceeding the last empty line. It should instead be put from the first changed line and up to the last empty line. The last empty line is not included into the selection and this is clearly wrong.

Best wishes.
Dmitry.

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2010-04-06 10:12:17 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.