add: if(!tPtr->flags.frozen) { layOutDocument(tPtr); }
context: WMPrependTextStream(WMText *tPtr, char *text) {    CHECK_CLASS(tPtr, WC_Text);    if(!text) {        if(tPtr->flags.ownsSelection)            releaseSelection(tPtr);        else {            clearText(tPtr);            updateScrollers(tPtr);        }        return;    }    tPtr->flags.prepend = True;    if (text && tPtr->parser)        (tPtr->parser) (tPtr, (void *) text);    else        insertPlainText(tPtr, text);    tPtr->flags.needsLayOut = True;    tPtr->tpos = 0;}