diff options
author | Neil <nyamatongwe@gmail.com> | 2024-07-28 09:48:13 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2024-07-28 09:48:13 +1000 |
commit | 1cccf5165b891eb95c85932474bb872ab0fbe638 (patch) | |
tree | 1772ba118f46766cd81814f69ee413a5556e1e06 /doc | |
parent | 76ef74bc44e201562320906ca18d3add7084ff8b (diff) | |
download | scintilla-mirror-1cccf5165b891eb95c85932474bb872ab0fbe638.tar.gz |
Add SCI_GETUNDOSEQUENCE to determine whether an undo sequence is active and its
nesting depth.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ScintillaDoc.html | 9 | ||||
-rw-r--r-- | doc/ScintillaHistory.html | 3 |
2 files changed, 11 insertions, 1 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 0e0300d95..b9a5971b2 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -1936,6 +1936,7 @@ struct Sci_TextToFindFull { <a class="message" href="#SCI_GETUNDOCOLLECTION">SCI_GETUNDOCOLLECTION → bool</a><br /> <a class="message" href="#SCI_BEGINUNDOACTION">SCI_BEGINUNDOACTION</a><br /> <a class="message" href="#SCI_ENDUNDOACTION">SCI_ENDUNDOACTION</a><br /> + <a class="message" href="#SCI_GETUNDOSEQUENCE">SCI_GETUNDOSEQUENCE → int</a><br /> <a class="message" href="#SCI_ADDUNDOACTION">SCI_ADDUNDOACTION(int token, int flags)</a><br /> </code> @@ -1979,11 +1980,17 @@ struct Sci_TextToFindFull { <p><b id="SCI_BEGINUNDOACTION">SCI_BEGINUNDOACTION</b><br /> <b id="SCI_ENDUNDOACTION">SCI_ENDUNDOACTION</b><br /> - Send these two messages to Scintilla to mark the beginning and end of a set of operations that + Send these two messages to Scintilla to mark the beginning and end of a sequence of operations that you want to undo all as one operation but that you have to generate as several operations. Alternatively, you can use these to mark a set of operations that you do not want to have combined with the preceding or following operations if they are undone.</p> + <p><b id="SCI_GETUNDOSEQUENCE">SCI_GETUNDOSEQUENCE → int</b><br /> + Determine if an undo sequence is active with a positive value indicating that a sequence is active and 0 that there is no current sequence. + The value returned is the nesting depth of the sequence, that is, the number of times <code>SCI_BEGINUNDOACTION</code> + was called without a correspnding <code>SCI_ENDUNDOACTION</code>. + A negative value indicates an error.</p> + <p><b id="SCI_ADDUNDOACTION">SCI_ADDUNDOACTION(int token, int flags)</b><br /> The container can add its own actions into the undo stack by calling <code>SCI_ADDUNDOACTION</code> and an <code>SCN_MODIFIED</code> diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 520760784..3a820fb92 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -596,6 +596,9 @@ Add SCI_SETCOPYSEPARATOR for separator between parts of a multiple selection when copied to the clipboard. <a href="https://sourceforge.net/p/scintilla/feature-requests/1530/">Feature #1530</a>. </li> + <li> + Add SCI_GETUNDOSEQUENCE to determine whether an undo sequence is active and its nesting depth. + </li> </ul> <h3> <a href="https://www.scintilla.org/scintilla551.zip">Release 5.5.1</a> |