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

Baseview r26223, r26248, r26269

From: otik <otik_at_printflow.eu>
Date: Tue, 24 Feb 2015 15:18:03 +0100

Hi stefan.

About month ago I fixed bug which bit annoyed me long time, for long
time I could not figure out when it happens.

When you open TMerge (e.g. diff some changed text file) with more lines
then fit in view and then click on navigation bar. You see left and
right views are out of sync. (by one line in my case)
This stop to happen when you resize window.

This is becouse when first time view is checking LineNumber in
GetLineNumber scroll is not ready yet. So it rememebers LineNumber for
height 0. Then ScrollBar is created, but LineNumber is not recalculated.

My approach was to don't remember LineNumber until ScrollBar is ready,
better would be reset it when scrollbar is created.
My guess would be some message to View is delivered about change client
area at that time.

Oto

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-02-24 15:18:11 CET

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.