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.cxx | |
| parent | caf87bd4ad84b0570ea087dc34f32cee986bb43a (diff) | |
| download | scintilla-mirror-3491002fbd32adbec743cf5ac4400fc463eab5f3.tar.gz | |
Whitespace may be made visible just in indentation.
Diffstat (limited to 'src/ViewStyle.cxx')
| -rw-r--r-- | src/ViewStyle.cxx | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index e8bf51363..9416ddcc6 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -512,6 +512,12 @@ bool ViewStyle::WhitespaceBackgroundDrawn() const {  	return (viewWhitespace != wsInvisible) && (whitespaceColours.back.isSet);  } +bool ViewStyle::WhiteSpaceVisible(bool inIndent) const { +	return !inIndent && viewWhitespace == wsVisibleAfterIndent || +		inIndent && viewWhitespace == wsVisibleOnlyInIndent || +		viewWhitespace == wsVisibleAlways; +} +  ColourDesired ViewStyle::WrapColour() const {  	if (whitespaceColours.fore.isSet)  		return whitespaceColours.fore; | 
