Re: CVS: commit msevior abi/src/text/fmt/xp fv_View.cpp

From: <msevior_at_physics.unimelb.edu.au>
Date: Thu Apr 12 2007 - 13:37:54 CEST

>
>>
>> On Thu, 2007-04-12 at 03:55 +0000, cvs@abisource.com wrote:
>>> Update of /cvsroot/abi/src/text/fmt/xp
>>> In directory abiword.snt.utwente.nl:/tmp/cvs-serv23351/src/text/fmt/xp
>>>
>>> Modified Files:
>>> fv_View.cpp
>>> Log Message:
>>>
>>> Stop remote carets blinking from timing out.
>>
>> Will they now blink forever? There isn't too much context below, but if
>> you only reset the timeout after a remote carret has done some action,
>> then it's fine.
>>
>> Otherwise we'll just use up power (think olpc) by not allowing the cpu
>> to sleep.
>>
>
> The caret time out is reset if it ever gets moved.
> If the remote user is typing away, then the carets will stay blinking.
> Once the remote user stops working, the caret stops bliking.
> BTW you have to work out how to time out
>
> FL_DocLayout::_backgroundCheck(UT_Worker * pWorker)
>
> If people stop doing stuff. I think the same idea you use for caret will
> work fine here too. Turn off the backgroundCheck if there are no view
> notifications in approx 10 seconds.
>

Whoops! I should have written:

void FL_DocLayout::_redrawUpdate(UT_Worker * pWorker)

_backgroundcheck i our spell checker.

cheers

Martin

> Cheers
>
> Martin
>
>> Bye!
>> Marc
>>
>>
>>
>>>
>>> Index: fv_View.cpp
>>> ===================================================================
>>> RCS file: /cvsroot/abi/src/text/fmt/xp/fv_View.cpp,v
>>> retrieving revision 1.1176
>>> retrieving revision 1.1177
>>> diff -u -d -r1.1176 -r1.1177
>>> --- fv_View.cpp 11 Apr 2007 11:09:26 -0000 1.1176
>>> +++ fv_View.cpp 12 Apr 2007 03:55:39 -0000 1.1177
>>> @@ -610,6 +610,7 @@
>>> for(i=0; i<iCount;i++)
>>> {
>>> pCaretProps = m_vecCarets.getNthItem(i);
>>> + pCaretProps->m_pCaret->resetBlinkTimeout();
>>> if(pCaretProps->m_sDocUUID == sUUID)
>>> {
>>> if(iLen >= 0)
>>>
>>> -----------------------------------------------
>>> To unsubscribe from this list, send a message to
>>> abisource-cvs-commit-request@abisource.com with the word
>>> unsubscribe in the message body.
>>
>>
>
>
>
Received on Thu Apr 12 13:37:16 2007

This archive was generated by hypermail 2.1.8 : Thu Apr 12 2007 - 13:37:16 CEST