Set embedded ASP default language to VB

Closes #5702, Closes #5677
This commit is contained in:
dail8859 2019-05-28 21:17:08 -04:00
parent 1a76bd5913
commit e5de0c6d44

View File

@ -745,6 +745,8 @@ void ScintillaEditView::setEmbeddedAspLexer()
keywordList = wstring2string(kwlW, CP_ACP); keywordList = wstring2string(kwlW, CP_ACP);
} }
execute(SCI_SETPROPERTY, reinterpret_cast<WPARAM>("asp.default.language"), reinterpret_cast<LPARAM>("2"));
execute(SCI_SETKEYWORDS, 2, reinterpret_cast<LPARAM>(getCompleteKeywordList(keywordList, L_VB, LANG_INDEX_INSTR))); execute(SCI_SETKEYWORDS, 2, reinterpret_cast<LPARAM>(getCompleteKeywordList(keywordList, L_VB, LANG_INDEX_INSTR)));
execute(SCI_STYLESETEOLFILLED, SCE_HBA_DEFAULT, true); execute(SCI_STYLESETEOLFILLED, SCE_HBA_DEFAULT, true);