aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
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 /doc
parent67759806434b36d47d5f08810854a661f2e992d1 (diff)
downloadscintilla-mirror-1c2f3fb6ce528add154abce1791d56ce7a94271c.tar.gz
Add CARETSTYLE_CURSES to draw more than 1 caret on curses terminal.
Diffstat (limited to 'doc')
-rw-r--r--doc/ScintillaDoc.html11
-rw-r--r--doc/ScintillaHistory.html3
2 files changed, 12 insertions, 2 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index ecd1068eb..77412022a 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, <code>CARETSTYLE_INS_MASK</code>),
+ 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
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 09afbe849..b4b7c6a56 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -578,6 +578,9 @@
Add DEL to standard set of space characters for word operations.
</li>
<li>
+ Add CARETSTYLE_CURSES to draw more than 1 caret on curses terminal.
+ </li>
+ <li>
On GTK, fix potential crash when closing Scintilla instances due to releasing global settings object.
</li>
<li>