diff options
author | nkmathew <devnull@localhost> | 2015-09-26 10:12:42 +1000 |
---|---|---|
committer | nkmathew <devnull@localhost> | 2015-09-26 10:12:42 +1000 |
commit | c52b08fd5737a4abebb6db7af8533fa6ce1238f5 (patch) | |
tree | 0fefba0126c7ad4e4dc3c5ce8749f1dd13d08943 /src/ViewStyle.h | |
parent | d2a510c1e8460086dcafe474d40e80d6784caff3 (diff) | |
download | scintilla-mirror-c52b08fd5737a4abebb6db7af8533fa6ce1238f5.tar.gz |
Whitespace may be made visible just in indentation.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r-- | src/ViewStyle.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h index 242e7e38e..d5a9d5b71 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -52,7 +52,7 @@ public: enum IndentView {ivNone, ivReal, ivLookForward, ivLookBoth}; -enum WhiteSpaceVisibility {wsInvisible=0, wsVisibleAlways=1, wsVisibleAfterIndent=2}; +enum WhiteSpaceVisibility {wsInvisible=0, wsVisibleAlways=1, wsVisibleAfterIndent=2, wsVisibleOnlyInIndent=3}; typedef std::map<FontSpecification, FontRealised *> FontMap; @@ -185,6 +185,8 @@ public: bool SetWrapVisualStartIndent(int wrapVisualStartIndent_); bool SetWrapIndentMode(int wrapIndentMode_); + bool WhiteSpaceVisible(bool inIndent) const; + private: void AllocStyles(size_t sizeNew); void CreateAndAddFont(const FontSpecification &fs); |