aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.h
diff options
context:
space:
mode:
authornkmathew <devnull@localhost>2015-09-26 10:12:42 +1000
committernkmathew <devnull@localhost>2015-09-26 10:12:42 +1000
commitc52b08fd5737a4abebb6db7af8533fa6ce1238f5 (patch)
tree0fefba0126c7ad4e4dc3c5ce8749f1dd13d08943 /src/ViewStyle.h
parentd2a510c1e8460086dcafe474d40e80d6784caff3 (diff)
downloadscintilla-mirror-c52b08fd5737a4abebb6db7af8533fa6ce1238f5.tar.gz
Whitespace may be made visible just in indentation.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r--src/ViewStyle.h4
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);