• Dylan Smith's avatar
    richedit: Removed redundant ME_FindItemAtOffset using ME_RunOfsFromCharOfs. · 61308257
    Dylan Smith authored
    The two functions ME_FindItemAtOffset and ME_RunOfsFromCharOfs were almost
    identically used, since ME_FindItemAtOffset was always used to find a run.
    The only difference was how they returned the offset within the run for an
    end of paragraph run.
    
    For ME_FindItemAtOffset it would return the next run if it was in between \r
    and \n. ME_RunOfsFromCharOfs would instead return an nOffset of 0 for end
    paragraph runs.  This subtle difference introduced bugs, so I decided to
    avoid having special case in this function when creating this patch, and
    instead let the caller handle this case.
    61308257
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...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...