diff options
author | Neil <nyamatongwe@gmail.com> | 2015-05-13 10:17:54 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-05-13 10:17:54 +1000 |
commit | 5f5ca4123c3a3ae3443e8f45c2b3d4df7309c708 (patch) | |
tree | 0edbf6892e4d32cdf9458b9e3328a9172a9731c5 | |
parent | 6cfb4d4ff01f6b7aaa954166f741b5f32ed50dfe (diff) | |
download | scintilla-mirror-5f5ca4123c3a3ae3443e8f45c2b3d4df7309c708.tar.gz |
Bug [#1724]. Fix folding of "selecttype" and "selectcase".
From darmar.
-rw-r--r-- | doc/ScintillaHistory.html | 4 | ||||
-rw-r--r-- | lexers/LexFortran.cxx | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 6ff3d6c46..700de78fd 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -502,6 +502,10 @@ <a href="http://sourceforge.net/p/scintilla/bugs/1719/">Bug #1719</a>. </li> <li> + Fortran folder fixes handling of "selecttype" and "selectcase". + <a href="http://sourceforge.net/p/scintilla/bugs/1724/">Bug #1724</a>. + </li> + <li> Verilog folder folds interface definitions. </li> <li> diff --git a/lexers/LexFortran.cxx b/lexers/LexFortran.cxx index 5deaf1173..387ed84ed 100644 --- a/lexers/LexFortran.cxx +++ b/lexers/LexFortran.cxx @@ -260,6 +260,7 @@ static int classifyFoldPointFortran(const char* s, const char* prevWord, const c lev = 0; } else if (strcmp(s, "associate") == 0 || strcmp(s, "block") == 0 || strcmp(s, "blockdata") == 0 || strcmp(s, "select") == 0 + || strcmp(s, "selecttype") == 0 || strcmp(s, "selectcase") == 0 || strcmp(s, "do") == 0 || strcmp(s, "enum") ==0 || strcmp(s, "function") == 0 || strcmp(s, "interface") == 0 || strcmp(s, "module") == 0 || strcmp(s, "program") == 0 |