• Dylan Smith's avatar
    richedit: Respect manually added links when autourldetect is disabled. · fdb37491
    Dylan Smith authored
    EM_SETCHARFORMAT can be used to make text links.  Automatic URL
    detection being enable would cause these links to be removed if the text
    is not a URL, so this must be prevented.
    
    Previously checks were made for AutoURLDetect_bEnable before calling
    ME_UpdateSelectionLinkAttribute, or ME_UpdateLinkAttribute.  This is
    more error prone than checking for this within the function, so one call
    was missing this check.
    
    ME_SetCursor also didn't respect this behaviour, since it wouldn't set
    the cursor to the hand when hovering over a link without automatic URL
    detection disabled.
    fdb37491
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...