• 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
..
tests Loading commit data...
Makefile.in Loading commit data...
caret.c Loading commit data...
clipboard.c Loading commit data...
context.c Loading commit data...
editor.c Loading commit data...
editor.h Loading commit data...
editstr.h Loading commit data...
list.c Loading commit data...
ocr_reverse.cur Loading commit data...
paint.c Loading commit data...
para.c Loading commit data...
reader.c Loading commit data...
res.h Loading commit data...
riched20.spec Loading commit data...
richole.c Loading commit data...
row.c Loading commit data...
rtf.h Loading commit data...
run.c Loading commit data...
string.c Loading commit data...
style.c Loading commit data...
table.c Loading commit data...
txthost.c Loading commit data...
txtsrv.c Loading commit data...
undo.c Loading commit data...
version.rc Loading commit data...
wrap.c Loading commit data...
writer.c Loading commit data...