aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexEDIFACT.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lexers/LexEDIFACT.cxx')
-rw-r--r--lexers/LexEDIFACT.cxx4
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);
}