aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2022-08-13 18:10:30 +1000
committerNeil <nyamatongwe@gmail.com>2022-08-13 18:10:30 +1000
commit059594717cb36423733a0fbdee316f436d2e49a0 (patch)
treef137e2e289859092cd80f90a72007b2a4c2b48f3 /src/PositionCache.h
parent5a75bc307318c1cf04f66390299792b87f37ff97 (diff)
downloadscintilla-mirror-059594717cb36423733a0fbdee316f436d2e49a0.tar.gz
Move append of new line start into PositionCache as AddLineStart.
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r--src/PositionCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h
index ad6caea78..4d44f96e4 100644
--- a/src/PositionCache.h
+++ b/src/PositionCache.h
@@ -96,7 +96,7 @@ public:
Range SubLineRange(int subLine, Scope scope) const noexcept;
bool InLine(int offset, int line) const noexcept;
int SubLineFromPosition(int posInLine, PointEnd pe) const noexcept;
- void SetLineStart(int line, int start);
+ void AddLineStart(Sci::Position start);
void SetBracesHighlight(Range rangeLine, const Sci::Position braces[],
char bracesMatchStyle, int xHighlight, bool ignoreStyle);
void RestoreBracesHighlight(Range rangeLine, const Sci::Position braces[], bool ignoreStyle);