mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-28 08:14:18 +02:00
Fix functionlist not working for Javascript regression.
This commit is contained in:
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…
x
Reference in New Issue
Block a user