diff options
| author | Vicente <unknown> | 2015-08-06 10:07:07 +1000 | 
|---|---|---|
| committer | Vicente <unknown> | 2015-08-06 10:07:07 +1000 | 
| commit | 4462d3aa4a2bfd6d06ab6ebc20dca8f2a1705ded (patch) | |
| tree | e15e5793085dc4231ed733708394c6e77c030bdf | |
| parent | dfd3ae75aba38d6729e933a45559ee98bf2fb05e (diff) | |
| download | scintilla-mirror-4462d3aa4a2bfd6d06ab6ebc20dca8f2a1705ded.tar.gz | |
Add VHDL protected keyword for folding.
| -rw-r--r-- | doc/ScintillaHistory.html | 11 | ||||
| -rw-r--r-- | lexers/LexVHDL.cxx | 3 | 
2 files changed, 13 insertions, 1 deletions
| diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 9046eb0fa..2e4a9d7c8 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -492,6 +492,17 @@  	Released 3 August 2015.  	</li>  	<li> +	VHDL folder supports "protected" keyword. +	</li> +    </ul> +    <h3> +       <a href="http://prdownloads.sourceforge.net/scintilla/scite360.zip?download">Release 3.6.0</a> +    </h3> +    <ul> +	<li> +	Released 3 August 2015. +	</li> +	<li>  	External interfaces use the Sci_Position and Sci_PositionU typedefs instead of int and unsigned int  	to allow for changes to a 64-bit interface on 64-bit plactforms in the future.  	Applications and external lexers should start using the new type names so that 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) | 
