aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2022-10-19 13:36:08 +1100
committerNeil <nyamatongwe@gmail.com>2022-10-19 13:36:08 +1100
commite9280bf01239e81b01899992647766d0c073253b (patch)
tree924d5f1a128552bf8c0b92f8c579544f34edc0ed /include
parent19a781319ccc6c9de302182e141383ba73403030 (diff)
downloadscintilla-mirror-e9280bf01239e81b01899992647766d0c073253b.tar.gz
Feature [feature-requests:#1455] Implement GetStyledTextFull as a 64-bit safe
version of GetStyledText.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h1
-rw-r--r--include/Scintilla.iface4
-rw-r--r--include/ScintillaCall.h1
-rw-r--r--include/ScintillaMessages.h1
4 files changed, 7 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 03302e293..30760431f 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -63,6 +63,7 @@ typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wP
#define SCI_SELECTALL 2013
#define SCI_SETSAVEPOINT 2014
#define SCI_GETSTYLEDTEXT 2015
+#define SCI_GETSTYLEDTEXTFULL 2778
#define SCI_CANREDO 2016
#define SCI_MARKERLINEFROMHANDLE 2017
#define SCI_MARKERDELETEHANDLE 2018
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index b03b8c8ca..a527bb9a4 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -154,6 +154,10 @@ fun void SetSavePoint=2014(,)
# Returns the number of bytes in the buffer not including terminating NULs.
fun position GetStyledText=2015(, textrange tr)
+# Retrieve a buffer of cells that can be past 2GB.
+# Returns the number of bytes in the buffer not including terminating NULs.
+fun position GetStyledTextFull=2778(, textrangefull tr)
+
# Are there any redoable actions in the undo history?
fun bool CanRedo=2016(,)
diff --git a/include/ScintillaCall.h b/include/ScintillaCall.h
index 4b8e3c732..9f3b7e40a 100644
--- a/include/ScintillaCall.h
+++ b/include/ScintillaCall.h
@@ -95,6 +95,7 @@ public:
void SelectAll();
void SetSavePoint();
Position GetStyledText(void *tr);
+ Position GetStyledTextFull(void *tr);
bool CanRedo();
Line MarkerLineFromHandle(int markerHandle);
void MarkerDeleteHandle(int markerHandle);
diff --git a/include/ScintillaMessages.h b/include/ScintillaMessages.h
index 118655689..9d3034f79 100644
--- a/include/ScintillaMessages.h
+++ b/include/ScintillaMessages.h
@@ -34,6 +34,7 @@ enum class Message {
SelectAll = 2013,
SetSavePoint = 2014,
GetStyledText = 2015,
+ GetStyledTextFull = 2778,
CanRedo = 2016,
MarkerLineFromHandle = 2017,
MarkerDeleteHandle = 2018,