mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-24 22:34:54 +02:00
Make Non-Print Characters show by default
Add NEL and ALM to NPC, and add note to not translate npc custom color stylename. Close #13063
This commit is contained in:
parent
39f32bda96
commit
dc99ce1035
@ -1667,6 +1667,8 @@ U+FEFF : zero-width no-break space
|
|||||||
|
|
||||||
For the full list check User Manual.
|
For the full list check User Manual.
|
||||||
Click on "?" button on right to open website with User Manual." />
|
Click on "?" button on right to open website with User Manual." />
|
||||||
|
|
||||||
|
<!-- Don't translate "("Non-printing characters custom color")" -->
|
||||||
<npcCustomColor-tip value="Go to Style Configurator to change the default custom color for selected whitespace and non-printing characters ("Non-printing characters custom color")." />
|
<npcCustomColor-tip value="Go to Style Configurator to change the default custom color for selected whitespace and non-printing characters ("Non-printing characters custom color")." />
|
||||||
</MiscStrings>
|
</MiscStrings>
|
||||||
</Native-Langue>
|
</Native-Langue>
|
||||||
|
@ -6333,7 +6333,7 @@ void NppParameters::feedScintillaParam(TiXmlNode *node)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Unicode non-printable characters visibility State
|
// Unicode non-printable characters visibility State
|
||||||
_svp._npcShow = parseShowHideBoolAttribute(TEXT("npcShow"));
|
_svp._npcShow = parseShowHideBoolAttribute(TEXT("npcShow"), true);
|
||||||
|
|
||||||
nm = element->Attribute(TEXT("npcMode"), &val);
|
nm = element->Attribute(TEXT("npcMode"), &val);
|
||||||
if (nm)
|
if (nm)
|
||||||
|
@ -122,7 +122,9 @@ const int MARK_HIDELINESUNDERLINE = 17;
|
|||||||
|
|
||||||
const std::vector<std::vector<const char*>> g_nonPrintingChars =
|
const std::vector<std::vector<const char*>> g_nonPrintingChars =
|
||||||
{
|
{
|
||||||
|
{"\xC2\x85", "NEL", "U+0085"}, // U+0085 : next line
|
||||||
{"\xC2\xA0", "NBSP", "U+00A0"}, // U+00A0 : no-break space
|
{"\xC2\xA0", "NBSP", "U+00A0"}, // U+00A0 : no-break space
|
||||||
|
{"\xD8\x9C", "ALM", "U+061C"}, // U+061C : arabic letter mark
|
||||||
{"\xE1\x9A\x80", "OSPM", "U+1680"}, // U+1680 : ogham space mark
|
{"\xE1\x9A\x80", "OSPM", "U+1680"}, // U+1680 : ogham space mark
|
||||||
{"\xE1\xA0\x8E", "MVS", "U+180E"}, // U+180E : mongolian vowel separator
|
{"\xE1\xA0\x8E", "MVS", "U+180E"}, // U+180E : mongolian vowel separator
|
||||||
{"\xE2\x80\x80", "NQSP", "U+2000"}, // U+2000 : en quad
|
{"\xE2\x80\x80", "NQSP", "U+2000"}, // U+2000 : en quad
|
||||||
|
Loading…
x
Reference in New Issue
Block a user