Java Hexadecimal Numbers are not highlighted correctly

Issue #817 resolved
Michael Dardis created an issue

I originally reffered this to GitHub as an issue, but they bounced me here.
Basically as can be seen in this code sniipit here:
https://github.com/ElasticPortalSuite/MinecraftProtocolLib/blob/master/src/main/java/net/md_5/mc/protocol/PacketDefinitions.java#L202

, hexadecimal numbers in java 0x60 for example are highlighted correctly, but the letter part of a hexadecimal number is not. In the example 0x6A, 0x6 is highlighted correctly, but the 'A' is left standard colour. The same is true for all hexadecimal digits A-F

Thanks
md_5

Comments (5)

  1. Tim Hatch

    Indeed. A fix is now in pygments-tim, and will be included in the next release. Thanks for the report.

  2. Michael Dardis reporter

    Sweet! Thanks so much for your professionalism and work that you put into this project.

  3. Log in to comment