From fd2623102a9bad31258a0ef31ce6a2972ae6ddad Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 2 Feb 2022 14:25:51 +1100 Subject: Feature [feature-requests:#1427] Add multithreaded layout which improves performance significantly for very wide lines. --- call/ScintillaCall.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'call') 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(Call(Message::GetPositionCache)); } +void ScintillaCall::SetLayoutThreads(int threads) { + Call(Message::SetLayoutThreads, threads); +} + +int ScintillaCall::LayoutThreads() { + return static_cast(Call(Message::GetLayoutThreads)); +} + void ScintillaCall::CopyAllowLine() { Call(Message::CopyAllowLine); } -- cgit v1.2.3