aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers
diff options
context:
space:
mode:
authorVicente <devnull@localhost>2015-08-06 10:07:07 +1000
committerVicente <devnull@localhost>2015-08-06 10:07:07 +1000
commit3b14e400a6e928be97ddfde5a26ec301c4a3ad95 (patch)
treecd75222b7892b012e64072ffd9cdb39b9cdad579 /lexers
parentc608880843476d2c83796d186ffc76a2c67aea6c (diff)
downloadscintilla-mirror-3b14e400a6e928be97ddfde5a26ec301c4a3ad95.tar.gz
Add VHDL protected keyword for folding.
Diffstat (limited to 'lexers')
-rw-r--r--lexers/LexVHDL.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/lexers/LexVHDL.cxx b/lexers/LexVHDL.cxx
index 86f93f4e7..5fa428bce 100644
--- a/lexers/LexVHDL.cxx
+++ b/lexers/LexVHDL.cxx
@@ -216,7 +216,7 @@ static void FoldNoBoxVHDLDoc(
// don't check if the style for the keywords that I use to adjust the levels.
char words[] =
"architecture begin block case component else elsif end entity generate loop package process record then "
- "procedure function when units";
+ "procedure protected function when units";
WordList keywords;
keywords.Set(words);
@@ -381,6 +381,7 @@ static void FoldNoBoxVHDLDoc(
strcmp(s, "loop") == 0 ||
strcmp(s, "package") ==0 ||
strcmp(s, "process") == 0 ||
+ strcmp(s, "protected") == 0 ||
strcmp(s, "record") == 0 ||
strcmp(s, "then") == 0 ||
strcmp(s, "units") == 0)