aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2021-10-10 02:02:10 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2021-10-10 02:02:10 +0300
commit2bcf60285e1c196bf05cd47a8e04beb150b485ef (patch)
tree1d48f8db0b5f42725998fef197bcb762a9a64fb2 /include
parent371b6e510e62d7d3ca5fd5133f190ef6a7bb72ff (diff)
downloadscintilla-mirror-2bcf60285e1c196bf05cd47a8e04beb150b485ef.tar.gz
Added Scintilla::Curses to allow for terminal drawing of the main caret.
This is the patch from scinterm/patches/02-caretstyle_curses.patch.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/ScintillaTypes.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index a10c9ed82..b46e886b6 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -907,6 +907,7 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP
#define CARETSTYLE_BLOCK 2
#define CARETSTYLE_OVERSTRIKE_BAR 0
#define CARETSTYLE_OVERSTRIKE_BLOCK 0x10
+#define CARETSTYLE_CURSES 0x20
#define CARETSTYLE_INS_MASK 0xF
#define CARETSTYLE_BLOCK_AFTER 0x100
#define SCI_SETCARETSTYLE 2512
diff --git a/include/ScintillaTypes.h b/include/ScintillaTypes.h
index 910cd5ec8..917878474 100644
--- a/include/ScintillaTypes.h
+++ b/include/ScintillaTypes.h
@@ -439,6 +439,7 @@ enum class CaretStyle {
Block = 2,
OverstrikeBar = 0,
OverstrikeBlock = 0x10,
+ Curses = 0x20,
InsMask = 0xF,
BlockAfter = 0x100,
};