From b399abb1a03ff3c76de1e9a893092f028852e48a Mon Sep 17 00:00:00 2001 From: mattias Date: Fri, 14 Jul 2006 11:26:39 +0000 Subject: [PATCH] implemented freepascal highlighter with nested comments for (* comments git-svn-id: trunk@9602 - --- components/synedit/synhighlighterpas.pp | 31 +++++++++++++++++-------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/components/synedit/synhighlighterpas.pp b/components/synedit/synhighlighterpas.pp index 0788a19c64..ae2edbbdcd 100644 --- a/components/synedit/synhighlighterpas.pp +++ b/components/synedit/synhighlighterpas.pp @@ -1470,17 +1470,28 @@ begin {$IFDEF SYN_LAZARUS} fTokenID := tkComment; repeat - if fLine[Run]=#0 then break; - if (fLine[Run] = '*') and (RunfLineLen) or (fLine[Run] in [#0, #10, #13]); {$ELSE} case fLine[Run] of