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

Re: [T-Merge patch] syncing code for views

From: Oto BREZINA <otik_at_printflow.eu>
Date: Thu, 07 Apr 2011 21:03:21 +0200

On 2011-04-07 19:16, Stefan Küng wrote:
> On 07.04.2011 00:11, Oto BREZINA wrote:
>> sometime if (m_pwndBottom->IsViewLineConflicted(viewLine)) is used while on other places not.
> It's used whenever the bottom view is visible. Or do you see another place?

It is not in: CBottomView::UseMyTextBlock
While it is in: CBottomView::UseTheirTextBlock, CLeftView::UseBlocka and
CRightView::UseBlock(

btw: m_nSelBlockStart and m_nSelBlockEnd synced for all views, or can be
different?

I think about add 'static allviewstate m_allviewstate' into BaseView.
Then usage would be as follow:
ClearUndoStep();
... call methods copiing data, modififyng state ...
AddUndoStep(caret); // will not add if no data to add
This removes creating, and pushing states ...
btw

> Stefan
>

-- 
Oto BREZINA, Printflow s.r.o., EU
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2717768
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-04-07 21:05:53 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.