In the Delphi IDE the String
type is highlighted as a keyword, similar to syntax elements like const
, function
, begin
, end
, or class
. It seems to be the only type that gets this special highlighting, other types like Integer
, Boolean
, or Double
have a "normal" color. Also there is no special color for other types similar to String like AnsiString
, WideString
or UnicodeString
.
Out of curiosity: What is the reason the String type is treated special in IDE syntax highlighting?