From 8700f9db84ede20715c64b8b3a6fdbe3b1f3a1db Mon Sep 17 00:00:00 2001 From: oirfeodent Date: Wed, 5 Jul 2017 02:36:36 -0700 Subject: Apply patch set #6335 to LongTerm3 Branch. SCE_BAAN_NUMBER was not highlighted, if followed by an operator... This Bug is fixed. --- lexers/LexBaan.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexers') diff --git a/lexers/LexBaan.cxx b/lexers/LexBaan.cxx index ab96a0db5..98ff94a16 100644 --- a/lexers/LexBaan.cxx +++ b/lexers/LexBaan.cxx @@ -523,7 +523,7 @@ void SCI_METHOD LexerBaan::Lex(Sci_PositionU startPos, Sci_Position length, int sc.SetState(SCE_BAAN_DEFAULT); break; case SCE_BAAN_NUMBER: - if (IsASpaceOrTab(sc.ch) || sc.ch == '\r' || sc.ch == '\n') { + if (IsASpaceOrTab(sc.ch) || sc.ch == '\r' || sc.ch == '\n' || IsAnOperator(sc.ch)) { sc.SetState(SCE_BAAN_DEFAULT); } else if ((numberIsHex && !(MakeLowerCase(sc.ch) == 'x' || MakeLowerCase(sc.ch) == 'e' || -- cgit v1.2.3