aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ScintillaDoc.html10
-rw-r--r--doc/ScintillaHistory.html7
2 files changed, 17 insertions, 0 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 3189a001a..c21bd2e29 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -959,6 +959,12 @@ struct Sci_TextRangeFull {
</tr>
<tr>
+ <th align="left"><code>SC_STATUS_OUTSIDE_DOCUMENT</code></th>
+ <td>3</td>
+ <td>An operation was attempted on a position that is outside the document</td>
+ </tr>
+
+ <tr>
<th align="left"><code>SC_STATUS_WARN_REGEX</code></th>
<td>1001</td>
<td>Regular expression is invalid</td>
@@ -967,6 +973,10 @@ struct Sci_TextRangeFull {
</tbody>
</table>
+ <p>To more easily check the status of APIs, applications should call the direct status function using
+ <a class="message" href="#SCI_GETDIRECTSTATUSFUNCTION"><code>SCI_GETDIRECTSTATUSFUNCTION</code></a>.
+ </p>
+
<h2 id="Selection">Selection</h2>
<p>Scintilla maintains a selection that stretches between two points, the anchor and the
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index ea660ae37..fdcde25f9 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -606,6 +606,13 @@
Released 26 March 2026.
</li>
<li>
+ Add error status SC_STATUS_OUTSIDE_DOCUMENT that is set when operations are attempted on a position
+ outside the document.
+ Positions are checked earlier to prevent actions partly succeeding.
+ Incomplete actions could lead to features that are out of synchronization
+ like change history referring to text that has been deleted.
+ </li>
+ <li>
On Win32 with DirectWrite in a GDI scaled application, draw sharper text in autocompletion lists.
<a href="https://sourceforge.net/p/scintilla/bugs/2505/">Bug #2505</a>.
</li>