Consider adding literals (null, as well as booleans true and false) to json lexer per RFC 7159: https://tools.ietf.org/html/rfc7159#section-3
null
true
false
It's application's response to set keywords to lexers, for JSON lexer, you can call SCI_SETKEYWORDS(0, "null true false") to set these keywords.
SCI_SETKEYWORDS(0, "null true false")
see https://www.scintilla.org/ScintillaDoc.html#SCI_SETKEYWORDS
Thank you @zufuliu. I can confirm that indeed adding the keywords as you suggest works. Someone with enough privileges can close this ticket.
Log in to post a comment.
It's application's response to set keywords to lexers, for JSON lexer, you can call
SCI_SETKEYWORDS(0, "null true false")
to set these keywords.see https://www.scintilla.org/ScintillaDoc.html#SCI_SETKEYWORDS
Thank you @zufuliu. I can confirm that indeed adding the keywords as you suggest works. Someone with enough privileges can close this ticket.