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

Re: TortoiseMerge jumps to unexpected line when collapsed

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 30 Mar 2017 20:27:40 +0200

On 30.03.2017 12:32, Christian Marrocco wrote:
> I'm calling TortoiseProc with the arguments
> /command:diff /path:"$(ItemPath)" /line:$(CurLine) from Visual Studio.
>
> If TortoiseMerge is *not* in collapsed state, it will jump to the specified line as expected.
>
> However, if TortoiseMerge is in collapsed state, it will jump to the nth line of the rendered text buffer and not to the expected line of the code.
>
> This typically (when having a few diffs only) results in TortoiseMerge starting with a blank screen, since it scrolled to the end of the buffer.
>
> I expect the /line argument to be interpreted in terms of the source file. I don't see a use case where it would be interpreted in terms of the text buffer.

fixed in r27769.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3224943
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2017-04-01 02:54:19 CEST

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