diff options
author | Neil <nyamatongwe@gmail.com> | 2017-06-22 16:38:26 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-06-22 16:38:26 +1000 |
commit | cac2920096062453ed19e5697146cd1b42ba088d (patch) | |
tree | 4de045a6b3dc4bc82f40964607f52fd0949a3ab0 /lexers/LexEDIFACT.cxx | |
parent | d1be79eee1940dc99389deefd9d3ae766c3035e3 (diff) | |
download | scintilla-mirror-cac2920096062453ed19e5697146cd1b42ba088d.tar.gz |
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.
Diffstat (limited to 'lexers/LexEDIFACT.cxx')
-rw-r--r-- | lexers/LexEDIFACT.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |