7546989c44
Fix the logic for restoring previous span's colors to account for the possibility of spans that don't change the color, such as in "<i><span color='red'>...</span></i>foo". Previously, "foo" would always be rendered black, because unwinding the attributes stack would encounter an invalid color (which has r=g=b=0) and set it, disregarding and preexisting attributes. Because there's code in there that checks whether the attributes are valid, we need to keep track of both the actually specified attributes and the currently effective ones, and use the latter for restoration. |
||
---|---|---|
.. | ||
addremovectrl.h | ||
eventloopsourcesmanager.h | ||
fd.h | ||
fdiodispatcher.h | ||
fdioeventloopsourcehandler.h | ||
fdiohandler.h | ||
fdiomanager.h | ||
fileback.h | ||
filename.h | ||
flagscheck.h | ||
fontmgr.h | ||
fswatcher.h | ||
graphics.h | ||
launchbrowser.h | ||
markupparser.h | ||
markupparserattr.h | ||
notifmsg.h | ||
overlay.h | ||
pipestream.h | ||
preferences.h | ||
richtooltip.h | ||
sckaddr.h | ||
secretstore.h | ||
selectdispatcher.h | ||
socket.h | ||
streamtempinput.h | ||
textmeasure.h | ||
threadinfo.h | ||
timer.h | ||
uiaction.h | ||
window.h | ||
wxprintf.h |