From 1b955a332fdea892683764467ca64f0704e98dab Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Thu, 19 Mar 2020 08:53:15 +1100 Subject: Feature [feature-requests:1302] Add IsCaretVisible to simplify DrawCarets. --- src/ViewStyle.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ViewStyle.h') diff --git a/src/ViewStyle.h b/src/ViewStyle.h index 0235b3651..7f6853f13 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -201,6 +201,7 @@ public: enum class CaretShape { invisible, line, block, bar }; bool IsBlockCaretStyle() const noexcept; + bool IsCaretVisible() const noexcept; bool DrawCaretInsideSelection(bool inOverstrike, bool imeCaretBlockOverride) const noexcept; CaretShape CaretShapeForMode(bool inOverstrike) const noexcept; -- cgit v1.2.3