aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/ScintillaDoc.html
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 /doc/ScintillaDoc.html
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 'doc/ScintillaDoc.html')
-rw-r--r--doc/ScintillaDoc.html11
1 files changed, 9 insertions, 2 deletions
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 {
<p><b id="SCI_SETCARETSTYLE">SCI_SETCARETSTYLE(int caretStyle)</b><br />
<b id="SCI_GETCARETSTYLE">SCI_GETCARETSTYLE &rarr; int</b><br />
The style of the caret can be set with <code>SCI_SETCARETSTYLE</code>.
- There are separate styles for insert mode (lower 4-bits, <code>CARETSTYLE_INS_MASK</code>) 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).
<table class="standard" summary="Caret Styles">
<tbody valign="top">
@@ -3828,6 +3828,13 @@ struct Sci_TextToFind {
<td>Draws an overstrike caret as a block. This should be ored with one of the first three styles.</td>
</tr>
<tr>
+ <th align="left"><code>CARETSTYLE_CURSES</code></th>
+ <td>32</td>
+ <td>Draws 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.</td>
+ </tr>
+ <tr>
<th align="left"><code>CARETSTYLE_BLOCK_AFTER</code></th>
<td>256</td>
<td>When the caret end of a range is at the end and a block caret style is chosen, draws the block