From c9394092df9b424b262e06139d2e4abdac8f78a3 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 10 Jun 2021 09:21:12 +1000 Subject: Rename SCI_PASTERECTANGULAR to SCI_REPLACERECTANGULAR as it is inserting text provided as an argument instead of from the system clipboard. --- doc/ScintillaDoc.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 01ec3e3ad..300ae0208 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -128,7 +128,7 @@

Scintilla Documentation

-

Last edited 28 May 2021 NH

+

Last edited 10 June 2021 NH

Scintilla 5 has moved the lexers from Scintilla into a new Lexilla project.
@@ -1107,7 +1107,7 @@ struct Sci_TextToFind { SCI_COPYALLOWLINE
SCI_SETPASTECONVERTENDINGS(bool convert)
SCI_GETPASTECONVERTENDINGS → bool
- SCI_PASTERECTANGULAR(position length, const char *text)
+ SCI_REPLACERECTANGULAR(position length, const char *text)

SCI_CUT
@@ -1148,8 +1148,10 @@ struct Sci_TextToFind { SCI_SETEOLMODE. Defaults to true.

-

SCI_PASTERECTANGULAR(position length, const char *text)
- Pastes the given text into the existing rectangular or empty selection, overwriting any selected text.

+

SCI_REPLACERECTANGULAR(position length, const char *text)
+ Replaces the selected text or empty selection with the given text. + The insertion is performed similarly to rectangular pastes: new lines in the given text are interpreted as + moving to the next line without inserting new lines unless at the end of the document.

Error handling

-- cgit v1.2.3