aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2023-03-02 22:02:19 +1100
committerNeil <nyamatongwe@gmail.com>2023-03-02 22:02:19 +1100
commit43ba96d61994db084e61b31df278d2d87c1f313c (patch)
tree9ec2084b3a8594434889fb622f2fe7c5446dc0a9 /src/Editor.h
parentc61df8742a4865ac9c67f8ed017248b82fe5574e (diff)
downloadscintilla-mirror-43ba96d61994db084e61b31df278d2d87c1f313c.tar.gz
Add multithreaded wrap to significantly improve performance of wrapping large
files.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 61e0dd5b0..f9d938685 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -400,6 +400,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
bool Wrapping() const noexcept;
void NeedWrapping(Sci::Line docLineStart=0, Sci::Line docLineEnd=WrapPending::lineLarge);
bool WrapOneLine(Surface *surface, Sci::Line lineToWrap);
+ bool WrapBlock(Surface *surface, Sci::Line lineToWrap, Sci::Line lineToWrapEnd);
enum class WrapScope {wsAll, wsVisible, wsIdle};
bool WrapLines(WrapScope ws);
void LinesJoin();