rem: }
add: }  static void
context: WMRefreshText(WMText *tPtr, int vpos, int hpos){    if(!tPtr)        return;    if(tPtr->frozen || !tPtr->view->flags.realized)        return;    XClearArea(tPtr->view->screen->display, tPtr->view->window,               22, (tPtr->rulerShown)?45:5,               tPtr->visibleW, tPtr->visibleH, True);    calcDocExtents(tPtr);    /*     printf("vpos:%d tPtr->docHeight%d tPtr->visibleH%d \n",     vpos, tPtr->docHeight, tPtr->visibleH);     */    //	tPtr->vpos = vpos;    /*     if(vpos < 0 || tPtr->docHeight < tPtr->visibleH)     tPtr->vpos = 0;     else if(vpos-tPtr->visibleH>tPtr->docHeight)     tPtr->vpos = vpos-tPtr->docHeight-tPtr->visibleH-tPtr->docHeight;     else     tPtr->vpos = tPtr->docHeight-tPtr->visibleH;     */    if(hpos < 0 || hpos > tPtr->docWidth)        tPtr->hpos = 0;    else        tPtr->hpos = hpos;    drawDocumentPartsOnPixmap(tPtr, True);    updateScrollers(tPtr);    paintText(tPtr);}