diff options
author | Zufu Liu <unknown> | 2022-07-17 14:09:52 +1000 |
---|---|---|
committer | Zufu Liu <unknown> | 2022-07-17 14:09:52 +1000 |
commit | f6a9859562ddeb04e882e4a3d15adbf64345452a (patch) | |
tree | f814dc8f40ea08c5d01d110ffb69a491806eea36 /src/PerLine.h | |
parent | 4e0683e5531aa99958fc742476b6150ec2595c72 (diff) | |
download | scintilla-mirror-f6a9859562ddeb04e882e4a3d15adbf64345452a.tar.gz |
Feature [feature-requests:#1441] Line state optimized to avoid excess allocations
by always allocating for every line.
Diffstat (limited to 'src/PerLine.h')
-rw-r--r-- | src/PerLine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PerLine.h b/src/PerLine.h index 3f7defa3c..ef9e36932 100644 --- a/src/PerLine.h +++ b/src/PerLine.h @@ -111,7 +111,7 @@ public: void InsertLines(Sci::Line line, Sci::Line lines) override; void RemoveLine(Sci::Line line) override; - int SetLineState(Sci::Line line, int state); + int SetLineState(Sci::Line line, int state, Sci::Line lines); int GetLineState(Sci::Line line); Sci::Line GetMaxLineState() const noexcept; }; |