aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexLPeg.cxx
diff options
context:
space:
mode:
authormitchell <unknown>2020-06-10 16:56:06 -0400
committermitchell <unknown>2020-06-10 16:56:06 -0400
commit32fdfb4248417b52716e0d9954f6fafeb5ae84c3 (patch)
tree208ff5139fb52a938ef90544b08ca9bee078d8ed /lexers/LexLPeg.cxx
parent9ce56e4e8cda669956ad1c127671322008ff0d0a (diff)
downloadscintilla-mirror-32fdfb4248417b52716e0d9954f6fafeb5ae84c3.tar.gz
Support American English "changable" style setting in LexerLPeg.
Diffstat (limited to 'lexers/LexLPeg.cxx')
-rw-r--r--lexers/LexLPeg.cxx4
1 files changed, 3 insertions, 1 deletions
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)