From 39be73514c317e7d672e0a09862571e64f8979da Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Thu, 15 Jul 2021 17:29:24 +1000 Subject: Feature [feature-requests:#1370] Implement SCI_ALLOCATELINES to allocate indices to hold some number of lines. This is an optimization that can decrease reallocation overhead. --- include/ScintillaCall.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/ScintillaCall.h') diff --git a/include/ScintillaCall.h b/include/ScintillaCall.h index 778a195d0..e0cfdd052 100644 --- a/include/ScintillaCall.h +++ b/include/ScintillaCall.h @@ -320,6 +320,7 @@ public: Position GetLine(Line line, char *text); std::string GetLine(Line line); Line LineCount(); + void AllocateLines(Line lines); void SetMarginLeft(int pixelWidth); int MarginLeft(); void SetMarginRight(int pixelWidth); -- cgit v1.2.3