From cac2920096062453ed19e5697146cd1b42ba088d Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 22 Jun 2017 16:38:26 +1000 Subject: Update IDocument for version 4. Drop IDocumentWithLineEnd interface to just have IDocument but with all the methods from IDocumentWithLineEnd. This removes version checking (for now). Use dvRelease4 ID. Drop mask argument to StartStyling. --- lexers/LexEDIFACT.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lexers') diff --git a/lexers/LexEDIFACT.cxx b/lexers/LexEDIFACT.cxx index 63805b04e..c21351bf5 100644 --- a/lexers/LexEDIFACT.cxx +++ b/lexers/LexEDIFACT.cxx @@ -125,7 +125,7 @@ void LexerEDIFACT::Lex(Sci_PositionU startPos, Sci_Position lengthDoc, int, IDoc // Style buffer, so we're not issuing loads of notifications LexAccessor styler (pAccess); - pAccess->StartStyling(posCurrent, '\377'); + pAccess->StartStyling(posCurrent); styler.StartSegment(posCurrent); Sci_Position posSegmentStart = -1; @@ -188,7 +188,7 @@ void LexerEDIFACT::Lex(Sci_PositionU startPos, Sci_Position lengthDoc, int, IDoc if (posSegmentStart == -1) return; - pAccess->StartStyling(posSegmentStart, -1); + pAccess->StartStyling(posSegmentStart); pAccess->SetStyleFor(posFinish - posSegmentStart, SCE_EDI_BADSEGMENT); } -- cgit v1.2.3