diff options
| author | Neil <nyamatongwe@gmail.com> | 2026-01-17 10:16:35 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2026-01-17 10:16:35 +1100 |
| commit | b89a4865d66ae4a5a002f98c3be9db5bc12efffc (patch) | |
| tree | c36e5996e234ccd4231addd4a30d5833867a7f74 /src/PositionCache.h | |
| parent | d718aef662efafad72d5880def81641f80db99a9 (diff) | |
| download | scintilla-mirror-b89a4865d66ae4a5a002f98c3be9db5bc12efffc.tar.gz | |
Hoist calculation of last style of line into function and simplify logic.master
Diffstat (limited to 'src/PositionCache.h')
| -rw-r--r-- | src/PositionCache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h index b912c2fcc..d8f778c5c 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -101,6 +101,7 @@ public: Interval Span(int start, int end) const noexcept; Interval SpanByte(int index) const noexcept; int EndLineStyle() const noexcept; + [[nodiscard]] int LastStyle() const noexcept; void WrapLine(const Document *pdoc, Sci::Position posLineStart, Wrap wrapState, XYPOSITION wrapWidth); }; |
