diff options
Diffstat (limited to 'src/ViewStyle.cxx')
| -rw-r--r-- | src/ViewStyle.cxx | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index 6ec980af4..43b48544c 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -549,6 +549,10 @@ bool ViewStyle::IsBlockCaretStyle() const noexcept {  		(caretStyle & CARETSTYLE_OVERSTRIKE_BLOCK) != 0;  } +bool ViewStyle::IsCaretVisible() const noexcept { +	return caretWidth > 0 && caretStyle != CARETSTYLE_INVISIBLE; +} +  bool ViewStyle::DrawCaretInsideSelection(bool inOverstrike, bool imeCaretBlockOverride) const noexcept {  	if (caretStyle & CARETSTYLE_BLOCK_AFTER)  		return false; | 
