mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 04:39:36 +02:00
SynEdit, Pas Highlighter: show ^x as string / fix ^ in front of {$
git-svn-id: trunk@47513 -
This commit is contained in:
parent
c9d7e64a6b
commit
3d34fff0a3
@ -2756,8 +2756,14 @@ begin
|
||||
) and
|
||||
(fRange * [rsInTypeBlock, rsAfterEqual] = [rsAfterEqual]) )
|
||||
then begin
|
||||
if Run<fLineLen then
|
||||
if Run<fLineLen then begin
|
||||
if (Run+1 < fLineLen) and (fLine[Run] = '{') and (fLine[Run+1] = '$') then begin
|
||||
// "{$" directive takes precedence
|
||||
fTokenID := tkSymbol;
|
||||
exit;
|
||||
end;
|
||||
inc(Run);
|
||||
end;
|
||||
fTokenID := tkString;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user