aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r--src/ViewStyle.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ViewStyle.h b/src/ViewStyle.h
index 800d8cb67..4ef82c393 100644
--- a/src/ViewStyle.h
+++ b/src/ViewStyle.h
@@ -212,6 +212,10 @@ public:
bool WhiteSpaceVisible(bool inIndent) const;
+ enum class CaretShape { invisible, line, block, bar };
+ bool IsBlockCaretStyle() const noexcept;
+ CaretShape CaretShapeForMode(bool inOverstrike) const noexcept;
+
private:
void AllocStyles(size_t sizeNew);
void CreateAndAddFont(const FontSpecification &fs);