• Dylan Smith's avatar
    wordpad: Don't waste time getting the number of preview pages. · 20dea9a8
    Dylan Smith authored
    For print preview it will take more time to wait for the whole text to be
    wrapped for EM_FORMATRANGE than to wait for just the first page.  Trying to
    get the total number of pages will cause the whole test to be wrapped.
    Instead all that is needed is to just determine if a page is the last page,
    which can be determined by it's page end offset compared to the text length.
    20dea9a8
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
Make.rules.in Loading commit data...
Makefile.in Loading commit data...
Maketest.rules.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...