diff options
| author | A-R-C-A <unknown> | 2017-04-06 20:19:23 +1000 | 
|---|---|---|
| committer | A-R-C-A <unknown> | 2017-04-06 20:19:23 +1000 | 
| commit | dba2fe55b8a4ab4ac34795fe4a4b30a729c77016 (patch) | |
| tree | 83e69d400b6bde138c940f995e7167d0dc3af765 /src/ViewStyle.h | |
| parent | 84d949ba2662648114028dc3f7470e58064bf25c (diff) | |
| download | scintilla-mirror-dba2fe55b8a4ab4ac34795fe4a4b30a729c77016.tar.gz | |
Added a caret line frame as an alternative visual for highlighting the caret line.
Diffstat (limited to 'src/ViewStyle.h')
| -rw-r--r-- | src/ViewStyle.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/src/ViewStyle.h b/src/ViewStyle.h index 1a876f85e..db415344b 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -141,6 +141,7 @@ public:  	bool viewEOL;  	ColourDesired caretcolour;  	ColourDesired additionalCaretColour; +	int caretLineFrame;  	bool showCaretLineBackground;  	bool alwaysShowCaretLineBackground;  	ColourDesired caretLineBackground; @@ -190,6 +191,8 @@ public:  	int MarginFromLocation(Point pt) const;  	bool ValidStyle(size_t styleIndex) const;  	void CalcLargestMarkerHeight(); +	int GetFrameWidth() const; +	bool IsLineFrameOpaque(bool caretActive, bool lineContainsCaret) const;  	ColourOptional Background(int marksOfLine, bool caretActive, bool lineContainsCaret) const;  	bool SelectionBackgroundDrawn() const;  	bool WhitespaceBackgroundDrawn() const; | 
