aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.h
diff options
context:
space:
mode:
authorZufu Liu <unknown>2020-03-19 08:53:15 +1100
committerZufu Liu <unknown>2020-03-19 08:53:15 +1100
commit63fcc3edaf7ca501fdf7d6d98bb0a5de24939f71 (patch)
treeddcef2af54c9c3d3ab4cc1b9adec80df78808f49 /src/ViewStyle.h
parentd37556bb750b9e03263036ea2e6afe4ee8dab79a (diff)
downloadscintilla-mirror-63fcc3edaf7ca501fdf7d6d98bb0a5de24939f71.tar.gz
Backport: Feature [feature-requests:1302] Add IsCaretVisible to simplify DrawCarets.
Backport of changeset 8010:4b365fa302a2.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r--src/ViewStyle.h1
1 files changed, 1 insertions, 0 deletions
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;