Force npcNoInputC0 value as "true" by default to avoid C0 code input

Follow #16338

Fix #16326, fix #15839 , fix #15729
This commit is contained in:
Don Ho 2025-04-03 18:01:39 +02:00
parent 38ee65fdb2
commit 9122f45bdf

View File

@ -6747,7 +6747,7 @@ void NppParameters::feedScintillaParam(TiXmlNode *node)
_svp._npcCustomColor = parseYesNoBoolAttribute(L"npcCustomColor");
_svp._npcIncludeCcUniEol = parseYesNoBoolAttribute(L"npcIncludeCcUniEOL");
_svp._npcNoInputC0 = parseYesNoBoolAttribute(L"npcNoInputC0");
_svp._npcNoInputC0 = parseYesNoBoolAttribute(L"npcNoInputC0", true);
// C0, C1 control and Unicode EOL visibility state
_svp._ccUniEolShow = parseYesNoBoolAttribute(L"ccShow", true);