From 570c279fd886d4e16f42f1a86fee9a45ef3ae3ee Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Wed, 26 Nov 2014 16:42:19 +0100 Subject: [PATCH] fix, wrong charset tested, some symbols were not bold --- src/ce_txtsyn.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ce_txtsyn.pas b/src/ce_txtsyn.pas index de65197a..bf4c85e8 100644 --- a/src/ce_txtsyn.pas +++ b/src/ce_txtsyn.pas @@ -148,7 +148,7 @@ begin // text fToken := tkTxt; - while not (isSymbol(fLineBuf[fTokStop]) or isWhite(fLineBuf[fTokStop])) do + while not ((fLineBuf[fTokStop] in txtSym) or isWhite(fLineBuf[fTokStop])) do begin Inc(fTokStop); if fLineBuf[fTokStop] = #10 then exit;