While messing around with the zoom, I could never find the cursor, so I
made it one pixel wider and also made it blink.
richie
Index: fv_View.cpp
===================================================================
RCS file: /u2/cvsroot/abi/src/text/fmt/xp/fv_View.cpp,v
retrieving revision 1.219
diff -r1.219 fv_View.cpp
88,89c88,90
< m_pAutoScrollTimer = NULL;
<
---
> m_pAutoScrollTimer = NULL;
> m_pAutoPointTimer = NULL;
>
118c119,120
<
---
> DELETEP(m_pAutoPointTimer);
>
3333a3336
> m_pG->xorLine(m_xPoint-1, m_yPoint, m_xPoint-1, m_yPoint +
>m_iPointHeight);
3340c3343
< if (!isSelectionEmpty())
---
> if (!isSelectionEmpty() || !m_pointIsOn)
3349a3353,3360
> if (m_pAutoPointTimer == NULL) {
> m_pAutoPointTimer = UT_Timer::static_constructor(_autoDrawPoint, this,
>m_pG);
> m_pAutoPointTimer->set(AUTO_DRAW_POINT);
> m_pAutoPointTimer->start();
> }
>
> m_pointIsOn = UT_TRUE;
>
3360a3372,3391
> }
>
> void FV_View::_autoDrawPoint(UT_Timer * pTimer)
> {
> UT_ASSERT(pTimer);
>
> FV_View * pView = (FV_View *) pTimer->getInstanceData();
> UT_ASSERT(pView);
>
> if (pView->m_iWindowHeight <= 0)
> {
> return;
> }
>
> if (!pView->isSelectionEmpty())
> {
> return;
> }
> pView->_xorInsertionPoint();
> pView->m_pointIsOn = !pView->m_pointIsOn;
Index: fv_View.h
===================================================================
RCS file: /u2/cvsroot/abi/src/text/fmt/xp/fv_View.h,v
retrieving revision 1.95
diff -r1.95 fv_View.h
34a35,36
> #define AUTO_DRAW_POINT 600
>
252a255
> static void _autoDrawPoint(UT_Timer * pTimer);
284a288,290
> UT_Timer * m_pAutoPointTimer;
> UT_Bool m_pointIsOn;
>