rem: calcParaExtents(Text *tPtr, Paragraph *para)
add: static int calcParaExtents(Text * tPtr, Paragraph * para)
context: calcParaExtents(Text *tPtr, Paragraph *para){    if(!para) return 0;    if(tPtr->monoFont) {        para->width = tPtr->visibleW;        para->fmargin = 0;        para->bmargin = 0;        para->rmargin = tPtr->visibleW;    } else {        para->width = WMGetRulerMargins(tPtr->ruler, WRulerRight) -            WMIN(para->fmargin, para->bmargin) -            WMGetRulerOffset(tPtr->ruler);    }    if(!para->chunks)        para->height = tPtr->dFont->height;    else        para->height = putParagraphOnPixmap(tPtr, para, False);    if(para->height<tPtr->dFont->height)        para->height = tPtr->dFont->height;    para->bottom = para->top + para->height;    return para->height;}