It's not something we need to implement - it's already implemented by the lexer.
To be exact, underscores denote an unused variable (called a "singleton"). The lexer maps them to SCE_VISUALPROLOG_ANONYMOUS
:
} else if (sc.Match('_')) {
sc.SetState(SCE_VISUALPROLOG_ANONYMOUS);
Only words in proper title-case are styled as SCE_VISUALPROLOG_VARIABLE
:
} else if (isUpperLetter(sc.ch)) {
sc.SetState(SCE_VISUALPROLOG_VARIABLE);
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.