diff options
author | Neil <nyamatongwe@gmail.com> | 2018-03-16 16:57:06 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-03-16 16:57:06 +1100 |
commit | 191d250adfd9d50846db5350641d279cad39c325 (patch) | |
tree | 745391be4a4c56cf6823da5ac840b912ef83557d /lexers/LexCPP.cxx | |
parent | 601277bddb0a4d871b8ab90e88b5d7dfde3ec2a3 (diff) | |
download | scintilla-mirror-191d250adfd9d50846db5350641d279cad39c325.tar.gz |
Remove line-end white space.
Diffstat (limited to 'lexers/LexCPP.cxx')
-rw-r--r-- | lexers/LexCPP.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lexers/LexCPP.cxx b/lexers/LexCPP.cxx index 952410a85..73d667290 100644 --- a/lexers/LexCPP.cxx +++ b/lexers/LexCPP.cxx @@ -412,7 +412,7 @@ struct OptionSetCPP : public OptionSet<OptionsCPP> { DefineProperty("fold.cpp.explicit.anywhere", &OptionsCPP::foldExplicitAnywhere, "Set this property to 1 to enable explicit fold points anywhere, not just in line comments."); - + DefineProperty("fold.cpp.preprocessor.at.else", &OptionsCPP::foldPreprocessorAtElse, "This option enables folding on a preprocessor #else or #endif line of an #if statement."); @@ -1441,7 +1441,7 @@ void SCI_METHOD LexerCPP::Fold(Sci_PositionU startPos, Sci_Position length, int } else if (styler.Match(j, "end")) { levelNext--; } - + if (options.foldPreprocessorAtElse && (styler.Match(j, "else") || styler.Match(j, "elif"))) { levelMinCurrent--; } |