diff options
author | Zufu Liu <unknown> | 2019-02-05 09:02:14 +1100 |
---|---|---|
committer | Zufu Liu <unknown> | 2019-02-05 09:02:14 +1100 |
commit | 1469ac92b931c4e43046964116fcc4a0ae73100c (patch) | |
tree | 2f838871632d3accae0474302a436967992beaaa /src/ViewStyle.h | |
parent | dceb72247c99932399784780437344934260b11d (diff) | |
download | scintilla-mirror-1469ac92b931c4e43046964116fcc4a0ae73100c.tar.gz |
Feature [feature-requests:#1217]. Change API so block just for overstrike.
Diffstat (limited to 'src/ViewStyle.h')
-rw-r--r-- | src/ViewStyle.h | 4 |
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); |