From 1469ac92b931c4e43046964116fcc4a0ae73100c Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Tue, 5 Feb 2019 09:02:14 +1100 Subject: Feature [feature-requests:#1217]. Change API so block just for overstrike. --- src/ViewStyle.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ViewStyle.h') 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); -- cgit v1.2.3