SynEdit: static keyword is not highlighted
Original Reporter info from Mantis: kluug.net @onpok
-
Reporter name: Ondrej Pokorny
Original Reporter info from Mantis: kluug.net @onpok
- Reporter name: Ondrej Pokorny
Description:
The static keyword is not highlighted under special circumstances.
Steps to reproduce:
program Project1;
{$mode objfpc}
{$modeswitch typehelpers}
type
TTest = type helper for TObject
private const
B = 2;
public
class function A: Integer; static;
end;
class function TTest.A: Integer;
begin
Result := B;
end;
begin
end.
Mantis conversion info:
- Mantis ID: 34654
- Fixed in version: 2.2
- Fixed in revision: 60556 (#dd2d67f4)
- Target version: 2.2