aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMitchell Foral <unknown>2021-10-22 15:58:17 +1100
committerMitchell Foral <unknown>2021-10-22 15:58:17 +1100
commit1c2f3fb6ce528add154abce1791d56ce7a94271c (patch)
tree113769c983cb307b9ba44873b0f9d4fdcaff76ab /include
parent67759806434b36d47d5f08810854a661f2e992d1 (diff)
downloadscintilla-mirror-1c2f3fb6ce528add154abce1791d56ce7a94271c.tar.gz
Add CARETSTYLE_CURSES to draw more than 1 caret on curses terminal.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/Scintilla.iface1
-rw-r--r--include/ScintillaTypes.h1
3 files changed, 3 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/Scintilla.iface b/include/Scintilla.iface
index 7ce5e2408..f2ef2d33e 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -2489,6 +2489,7 @@ val CARETSTYLE_LINE=1
val CARETSTYLE_BLOCK=2
val CARETSTYLE_OVERSTRIKE_BAR=0
val CARETSTYLE_OVERSTRIKE_BLOCK=0x10
+val CARETSTYLE_CURSES=0x20
val CARETSTYLE_INS_MASK=0xF
val CARETSTYLE_BLOCK_AFTER=0x100
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,
};