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
commit1b955a332fdea892683764467ca64f0704e98dab (patch)
treeb6c83f7457b5505ec8555d925cf9669f7dd78b39 /src/ViewStyle.h
parentba62a1336c28132755aaac894e602f9dcff8f960 (diff)
downloadscintilla-mirror-1b955a332fdea892683764467ca64f0704e98dab.tar.gz
Feature [feature-requests:1302] Add IsCaretVisible to simplify DrawCarets.
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;