Restore the logarithmic worst-case performance of TextDialog::preProcess.