From f6a9859562ddeb04e882e4a3d15adbf64345452a Mon Sep 17 00:00:00 2001
From: Zufu Liu
Date: Sun, 17 Jul 2022 14:09:52 +1000
Subject: Feature [feature-requests:#1441] Line state optimized to avoid excess
allocations by always allocating for every line.
---
doc/ScintillaDoc.html | 4 +++-
doc/ScintillaHistory.html | 14 ++++++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
(limited to 'doc')
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 1529fc13c..b1d2b5e09 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -2900,7 +2900,9 @@ struct Sci_TextToFindFull {
SCI_GETMAXLINESTATE → int
- This returns the last line that has any line state.
+ This returns the last line that has any line state.
+ This has been made less useful by an optimization that always allocates for all lines if any line's state was set.
+ It can still distinguish cases where line state was never set for any lines.
Style definition
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 8d7952b2d..1ac7da9b0 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -573,6 +573,20 @@
Releases
+
+
+ -
+ Released 10 July 2022.
+
+ -
+ Line state optimized to avoid excess allocations by always allocating for every line.
+ This makes SCI_GETMAXLINESTATE less useful although it can still distinguish cases
+ where line state was never set for any lines.
+ Feature #1441.
+
+
--
cgit v1.2.3