aboutsummaryrefslogtreecommitdiffhomepage
path: root/call
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2022-02-02 14:25:51 +1100
committerNeil <nyamatongwe@gmail.com>2022-02-02 14:25:51 +1100
commitfd2623102a9bad31258a0ef31ce6a2972ae6ddad (patch)
tree621fa123bdab1e9f4ef94613c0fbf509f2ce36e3 /call
parent53ca05457a1d7306defd98ee4a21eb18e6a9be8d (diff)
downloadscintilla-mirror-fd2623102a9bad31258a0ef31ce6a2972ae6ddad.tar.gz
Feature [feature-requests:#1427] Add multithreaded layout which improves
performance significantly for very wide lines.
Diffstat (limited to 'call')
-rw-r--r--call/ScintillaCall.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/call/ScintillaCall.cxx b/call/ScintillaCall.cxx
index 4fe782af5..53b4e0cf7 100644
--- a/call/ScintillaCall.cxx
+++ b/call/ScintillaCall.cxx
@@ -2568,6 +2568,14 @@ int ScintillaCall::PositionCache() {
return static_cast<int>(Call(Message::GetPositionCache));
}
+void ScintillaCall::SetLayoutThreads(int threads) {
+ Call(Message::SetLayoutThreads, threads);
+}
+
+int ScintillaCall::LayoutThreads() {
+ return static_cast<int>(Call(Message::GetLayoutThreads));
+}
+
void ScintillaCall::CopyAllowLine() {
Call(Message::CopyAllowLine);
}