diff options
author | mitchell <unknown> | 2018-05-05 12:49:25 -0400 |
---|---|---|
committer | mitchell <unknown> | 2018-05-05 12:49:25 -0400 |
commit | 15be99cd0c446d74f71e9cf05ec3aa1c033a2370 (patch) | |
tree | e0b1a37db946476f36322c4fbe8e6bedf5530703 /src/PositionCache.cxx | |
parent | 386d275a0a0ea5b2725ff872fe8811cebecd2422 (diff) | |
download | scintilla-mirror-15be99cd0c446d74f71e9cf05ec3aa1c033a2370.tar.gz |
Backport: Split decorations into interface and implementation.
Backport of changeset 6658:693e737f3155.
Diffstat (limited to 'src/PositionCache.cxx')
-rw-r--r-- | src/PositionCache.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx index bf28223d5..2086b7190 100644 --- a/src/PositionCache.cxx +++ b/src/PositionCache.cxx @@ -470,12 +470,12 @@ BreakFinder::BreakFinder(const LineLayout *ll_, const Selection *psel, Range lin } } if (pvsDraw && pvsDraw->indicatorsSetFore) { - for (const Decoration *deco : pdoc->decorations.View()) { + for (const IDecoration *deco : pdoc->decorations->View()) { if (pvsDraw->indicators[deco->Indicator()].OverridesTextFore()) { - Sci::Position startPos = deco->rs.EndRun(posLineStart); + Sci::Position startPos = deco->EndRun(posLineStart); while (startPos < (posLineStart + lineRange.end)) { Insert(static_cast<int>(startPos - posLineStart)); - startPos = deco->rs.EndRun(startPos); + startPos = deco->EndRun(startPos); } } } |