Skip to content

Hex numbers are highlighted only partially #2890

@TobiasKnauss

Description

@TobiasKnauss

Describe the problem

Image

The highlighting of 0x27 this screenshot should include the 0x, but it does not.

Version: 2.3.8
Date: 2026-02-25T15:38:21.789Z
CLI Version: 1.4.1

To reproduce

copy into the IDE:

const int I2C_Addr_Display    = 0x27;

Expected behavior

the highlighting should cover the entire number 0x27.

Arduino IDE version

2.3.8

Operating system

Windows

Operating system version

Win 10 Pro 22H2 x64

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions