diff options
author | nkmathew <unknown> | 2015-09-26 10:12:42 +1000 |
---|---|---|
committer | nkmathew <unknown> | 2015-09-26 10:12:42 +1000 |
commit | 3491002fbd32adbec743cf5ac4400fc463eab5f3 (patch) | |
tree | ba31af9776a66f69843ecfcf178e768aeaf0ae74 /src/ViewStyle.h | |
parent | caf87bd4ad84b0570ea087dc34f32cee986bb43a (diff) | |
download | scintilla-mirror-3491002fbd32adbec743cf5ac4400fc463eab5f3.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); |