aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/EditView.h')
-rw-r--r--src/EditView.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/EditView.h b/src/EditView.h
index c9364ad30..199a174b9 100644
--- a/src/EditView.h
+++ b/src/EditView.h
@@ -83,6 +83,9 @@ public:
LineLayoutCache llc;
std::unique_ptr<IPositionCache> posCache;
+ unsigned int maxLayoutThreads;
+ static constexpr int bytesPerLayoutThread = 1000;
+
int tabArrowHeight; // draw arrow heads this many pixels above/below line midpoint
/** Some platforms, notably PLAT_CURSES, do not support Scintilla's native
* DrawTabArrow function for drawing tab characters. Allow those platforms to
@@ -103,6 +106,9 @@ public:
bool SetPhasesDraw(int phases) noexcept;
bool LinesOverlap() const noexcept;
+ void SetLayoutThreads(unsigned int threads) noexcept;
+ unsigned int GetLayoutThreads() const noexcept;
+
void ClearAllTabstops() noexcept;
XYPOSITION NextTabstopPos(Sci::Line line, XYPOSITION x, XYPOSITION tabWidth) const noexcept;
bool ClearTabstops(Sci::Line line) noexcept;