diff options
author | Neil <nyamatongwe@gmail.com> | 2023-11-05 14:08:57 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2023-11-05 14:08:57 +1100 |
commit | 04cc53969e0d23cf19365712ca8c6afdbc4f3822 (patch) | |
tree | 01e14e82dee06ba50f57f9bf5b523d244c7b6ca0 /doc | |
parent | 7f6786c9118007d0fcf3632c585e203a66c13c35 (diff) | |
download | scintilla-mirror-04cc53969e0d23cf19365712ca8c6afdbc4f3822.tar.gz |
Add SCI_SETMOVEEXTENDSSELECTION to simplify selection mode manipulation.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ScintillaDoc.html | 10 | ||||
-rw-r--r-- | doc/ScintillaHistory.html | 3 |
2 files changed, 10 insertions, 3 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index c0b80e793..43407a40b 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -129,7 +129,7 @@ <h1>Scintilla Documentation</h1> - <p>Last edited 1 November 2023 NH</p> + <p>Last edited 5 November 2023 NH</p> <p style="background:#90F0C0">Scintilla 5 has moved the lexers from Scintilla into a new <a href="Lexilla.html">Lexilla</a> project.<br /> @@ -980,6 +980,7 @@ struct Sci_TextRangeFull { <a class="message" href="#SCI_SELECTIONISRECTANGLE">SCI_SELECTIONISRECTANGLE → bool</a><br /> <a class="message" href="#SCI_SETSELECTIONMODE">SCI_SETSELECTIONMODE(int selectionMode)</a><br /> <a class="message" href="#SCI_GETSELECTIONMODE">SCI_GETSELECTIONMODE → int</a><br /> + <a class="message" href="#SCI_SETMOVEEXTENDSSELECTION">SCI_SETMOVEEXTENDSSELECTION(bool moveExtendsSelection)</a><br /> <a class="message" href="#SCI_GETMOVEEXTENDSSELECTION">SCI_GETMOVEEXTENDSSELECTION → bool</a><br /> <a class="message" href="#SCI_GETLINESELSTARTPOSITION">SCI_GETLINESELSTARTPOSITION(line line) → position</a><br /> <a class="message" href="#SCI_GETLINESELENDPOSITION">SCI_GETLINESELENDPOSITION(line line) → position</a><br /> @@ -1135,8 +1136,11 @@ struct Sci_TextRangeFull { <code>SC_SEL_THIN</code> is the mode after a rectangular selection has been typed into and ensures that no characters are selected.</p> - <p><b id="SCI_GETMOVEEXTENDSSELECTION">SCI_GETMOVEEXTENDSSELECTION → bool</b><br /> - This returns 1 if regular caret moves will extend or reduce the selection, 0 if not. + <p> + <b id="SCI_SETMOVEEXTENDSSELECTION">SCI_SETMOVEEXTENDSSELECTION(bool moveExtendsSelection)</b><br /> + <b id="SCI_GETMOVEEXTENDSSELECTION">SCI_GETMOVEEXTENDSSELECTION → bool</b><br /> + This controls whether regular caret moves extends the selection leaving the anchor unchanged. + It is 1 if regular caret moves will extend or reduce the selection, 0 if not. <code>SCI_SETSELECTIONMODE</code> toggles this setting between on and off.</p> <p><b id="SCI_GETLINESELSTARTPOSITION">SCI_GETLINESELSTARTPOSITION(line line) → position</b><br /> diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 333121b42..f823ee0ef 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -591,6 +591,9 @@ Released 18 November 2023. </li> <li> + Add SCI_SETMOVEEXTENDSSELECTION to simplify selection mode manipulation. + </li> + <li> Improve performance of global replace by reducing cache invalidation overhead. <a href="https://sourceforge.net/p/scintilla/feature-requests/1502/">Feature #1502</a>. </li> |