Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pyscripter committed Nov 11, 2022
1 parent ffa4f16 commit 4b7dcea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/Highlighters/SynHighlighterCss.pas
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ TSynCssSyn = class(TSynCustomHighlighter)
procedure PlusProc;
procedure TildeProc;
procedure PipeProc;
procedure CircumflexProc;
procedure WildCardProc;
procedure EqualProc;
procedure ExclamProc;
protected
Expand Down Expand Up @@ -618,12 +618,12 @@ procedure TSynCssSyn.AttributeProc;
if IsStopChar then
begin
case fLine[Run] of
#0..#31, '{', '/': NextDeclaration;
#0..#31: NextDeclaration;
']': BracketCloseProc;
'~': TildeProc;
'|': PipeProc;
'=': EqualProc;
'^': CircumflexProc;
'^', '*', '$': WildCardProc;
end;
Exit;
end;
Expand Down Expand Up @@ -661,7 +661,7 @@ procedure TSynCssSyn.BracketOpenProc;
fTokenID := tkSymbol;
end;

procedure TSynCssSyn.CircumflexProc;
procedure TSynCssSyn.WildCardProc;
begin
Inc(Run);
if fLine[Run] = '=' then
Expand Down

0 comments on commit 4b7dcea

Please sign in to comment.