Fix functionlist not working for Javascript regression.

pull/1033/head
Don Ho 9 years ago
parent 828e14aca1
commit 49260a1dee

@ -244,6 +244,9 @@ void FunctionListPanel::reload()
const TCHAR *fn = ((*_ppEditView)->getCurrentBuffer())->getFileName(); const TCHAR *fn = ((*_ppEditView)->getCurrentBuffer())->getFileName();
LangType langID = ((*_ppEditView)->getCurrentBuffer())->getLangType(); LangType langID = ((*_ppEditView)->getCurrentBuffer())->getLangType();
if (langID == L_JAVASCRIPT)
langID = L_JS;
const TCHAR *udln = NULL; const TCHAR *udln = NULL;
if (langID == L_USER) if (langID == L_USER)
{ {

Loading…
Cancel
Save