Fix URL highlight lockup

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@191 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
harrybharry 2008-04-28 09:33:11 +00:00
parent 36706f13a4
commit 017784de5b

View File

@ -2452,6 +2452,7 @@ void Notepad_plus::addHotSpot(bool docIsModifing)
char fontName[256];
Style hotspotStyle;
hotspotStyle._styleID = style_hotspot;
_pEditView->execute(SCI_STYLEGETFONT, idStyle, (LPARAM)fontName);
hotspotStyle._fgColor = _pEditView->execute(SCI_STYLEGETFORE, idStyle);
hotspotStyle._bgColor = _pEditView->execute(SCI_STYLEGETBACK, idStyle);