diff options
| author | Neil <nyamatongwe@gmail.com> | 2018-03-28 10:08:25 +1100 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2018-03-28 10:08:25 +1100 | 
| commit | 062f85d0d282162a3e829491ac422b96544215fd (patch) | |
| tree | 9936429d4342b581ba629db0a3c19a248de21086 /src/PositionCache.cxx | |
| parent | e93a47975d317f59df0fdcca7cee95b6ab4ff33f (diff) | |
| download | scintilla-mirror-062f85d0d282162a3e829491ac422b96544215fd.tar.gz | |
Split decorations into interface and implementation.
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 3bb0f7e28..20a2ddda3 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);  				}  			}  		} | 
