[BUG_FIXED] Fix DocMap's syntax highlighting doesn't update while current doc apply a new syntax highlighting.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1266 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
Don Ho 2014-07-27 14:19:19 +00:00
parent 44c291aee5
commit a20c6693a9

View File

@ -2322,6 +2322,10 @@ void Notepad_plus::command(int id)
case IDM_LANG_USER : case IDM_LANG_USER :
{ {
setLanguage(menuID2LangType(id)); setLanguage(menuID2LangType(id));
if (_pDocMap)
{
_pDocMap->setSyntaxHiliting();
}
} }
break; break;