From 32fdfb4248417b52716e0d9954f6fafeb5ae84c3 Mon Sep 17 00:00:00 2001 From: mitchell Date: Wed, 10 Jun 2020 16:56:06 -0400 Subject: Support American English "changable" style setting in LexerLPeg. --- lexers/LexLPeg.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lexers') diff --git a/lexers/LexLPeg.cxx b/lexers/LexLPeg.cxx index bf5b60774..140f5c202 100644 --- a/lexers/LexLPeg.cxx +++ b/lexers/LexLPeg.cxx @@ -368,7 +368,9 @@ class LexerLPeg : public DefaultLexer { SS(sci, SCI_STYLESETCASE, num, SC_CASE_LOWER); } else if (strcmp(key, "visible") == 0 || strcmp(key, "notvisible") == 0) SS(sci, SCI_STYLESETVISIBLE, num, *key == 'v'); - else if (strcmp(key, "changeable") == 0 || + else if (strcmp(key, "changable") == 0 || + strcmp(key, "notchangable") == 0 || + strcmp(key, "changeable") == 0 || strcmp(key, "notchangeable") == 0) SS(sci, SCI_STYLESETCHANGEABLE, num, *key == 'c'); else if (strcmp(key, "hotspot") == 0 || strcmp(key, "nothotspot") == 0) -- cgit v1.2.3