"index" and "message" are highlighted when they shouldn't be
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
"index" and "message", which are both context sensitive keywords, are highlighted in situations where they shouldn't be.
index:
type
Index = Integer;
TTest = class
Index: Integer;
property Foo[Index: Integer]: String;
property Test: Index read Index write Index;
end;
In "Foo" "Index" is highlighted although it shouldn't be. In property "Test" all three "Index" are highlighted (yes, that compiles ^^). This also happens in global properties.
message:
procedure Message(var Message: Message); message 23;
Only the last "message" should be highlighted (yes, that compiles if a type "Message" is defined ^^).
Also "message" is highlighted everywhere in a unit.