From 2bcf60285e1c196bf05cd47a8e04beb150b485ef Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 10 Oct 2021 02:02:10 +0300 Subject: Added Scintilla::Curses to allow for terminal drawing of the main caret. This is the patch from scinterm/patches/02-caretstyle_curses.patch. --- doc/ScintillaDoc.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 37a99a0f2..9f72e5fa0 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -3797,8 +3797,8 @@ struct Sci_TextToFind {

SCI_SETCARETSTYLE(int caretStyle)
SCI_GETCARETSTYLE → int
The style of the caret can be set with SCI_SETCARETSTYLE. - There are separate styles for insert mode (lower 4-bits, CARETSTYLE_INS_MASK) and - overtype mode (bit 4). + There are separate styles for insert mode (lower 4-bits, CARETSTYLE_INS_MASK), + overtype mode (bit 4), and curses mode (bit 5). @@ -3827,6 +3827,13 @@ struct Sci_TextToFind { + + + + + -- cgit v1.2.3
16 Draws an overstrike caret as a block. This should be ored with one of the first three styles.
CARETSTYLE_CURSES32Draws carets that cannot be drawn in a curses (terminal) environment (such as additional carets), + and draws them as blocks. The main caret is left to be drawn by the terminal itself. This setting is + typically a standalone setting.
CARETSTYLE_BLOCK_AFTER 256