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 | 08b7ba9c6804232efe62a7cb970013548318417f (patch) | |
tree | a4f25d217cf3fd462b862514991b6b0f130f6c86 /src/ViewStyle.h | |
parent | 9cc096e3f7deb6f10512e30da3e589eed927fdd5 (diff) | |
download | scintilla-mirror-08b7ba9c6804232efe62a7cb970013548318417f.tar.gz |
Backport: Feature [feature-requests:#1217]. Change API so block just for overstrike.
Backport of changeset 7249:06b6a93d8e3f.
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); |