diff options
Diffstat (limited to 'src/ScintillaBase.cxx')
| -rw-r--r-- | src/ScintillaBase.cxx | 5 | 
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 9d0c79c06..a629cdd33 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -804,10 +804,7 @@ const char *LexState::DescriptionOfStyle(int style) {  void ScintillaBase::NotifyStyleToNeeded(Sci::Position endStyleNeeded) {  	if (!DocumentLexState()->UseContainerLexing()) { -		const Sci::Line lineEndStyled = -			pdoc->SciLineFromPosition(pdoc->GetEndStyled()); -		const Sci::Position endStyled = -			pdoc->LineStart(lineEndStyled); +		const Sci::Position endStyled = pdoc->LineStartPosition(pdoc->GetEndStyled());  		DocumentLexState()->Colourise(endStyled, endStyleNeeded);  		return;  	}  | 
