diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ScintillaDoc.html | 10 | ||||
-rw-r--r-- | doc/ScintillaHistory.html | 6 |
2 files changed, 16 insertions, 0 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 083062dd2..44df71562 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -1938,6 +1938,8 @@ struct Sci_TextToFindFull { <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 /> + <a class="message" href="#SCI_SETSELECTIONUNDOHISTORY">SCI_SETSELECTIONUNDOHISTORY(bool selectionUndoHistory)</a><br /> + <a class="message" href="#SCI_GETSELECTIONUNDOHISTORY">SCI_GETSELECTIONUNDOHISTORY → bool</a><br /> </code> <p><b id="SCI_UNDO">SCI_UNDO</b><br /> @@ -2016,6 +2018,14 @@ struct Sci_TextToFindFull { look like typing or deletions that look like multiple uses of the Backspace or Delete keys. </p> + <p><b id="SCI_SETSELECTIONUNDOHISTORY">SCI_SETSELECTIONUNDOHISTORY(bool selectionUndoHistory)</b><br /> + <b id="SCI_GETSELECTIONUNDOHISTORY">SCI_GETSELECTIONUNDOHISTORY → bool</b><br /> + The selection for each action can be saved and then restored when undo or redo is performed. + <code>SCI_SETSELECTIONUNDOHISTORY</code> controls this. + The current <code>bool</code> argument may change to a set of flags. + There is a memory cost for this feature with a minimum of 150 bytes for each of undo and redo for each recorded action. + Recording may be turned on at any time.</p> + <h2 id="UndoSaveRestore">Undo Save and Restore</h2> <p>This feature is unfinished and has limitations. diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index ba416abe2..5f28aae36 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -595,6 +595,12 @@ Released 18 December 2024. </li> <li> + Remember selection with undo and redo. Controlled with SCI_SETSELECTIONUNDOHISTORY. + <a href="https://sourceforge.net/p/scintilla/feature-requests/1273/">Feature #1273</a>, + <a href="https://sourceforge.net/p/scintilla/bugs/1479/">Bug #1479</a>, + <a href="https://sourceforge.net/p/scintilla/bugs/1224/">Bug #1224</a>. + </li> + <li> Fix bug on Qt where double-click stopped working when Scintilla instance had been running for weeks. </li> </ul> |