- changed status to open
Hexadecimal numbers are not highlighted correctly
Issue #67
resolved
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)
-
repo owner -
repo owner - changed status to resolved
Thanks. Fixed it
- Log in to comment