Hexadecimal numbers are not highlighted correctly

Issue #67 resolved
Christian Budde created an issue

Especially when working with RGB colors it is important to have a proper syntax highlighting for hexadecimal values such as $FF0000 (equals red).

So far OmniPascal only seems to highlight hexadecimal numbers properly if they have the 0x prefix (instead of the $ prefix as in Delphi).

The regular expression to parse it correctly could be something like: (\$([A-Fa-f0-9]*)

Comments (2)

  1. Log in to comment