Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366148 - Wrong coloring with hexadecimal constants
Summary: Wrong coloring with hexadecimal constants
Status: RESOLVED FIXED
Alias: None
Product: LDT
Classification: Tools
Component: LuaDevelopmentTools (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 trivial
Target Milestone: 0.8 M1   Edit
Assignee: Benjamin Cabé CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-09 03:47 EST by Julien Desgats CLA
Modified: 2012-02-27 06:25 EST (History)
0 users

See Also:


Attachments
mylyn/context/zip (696 bytes, application/octet-stream)
2012-01-18 16:14 EST, Benjamin Cabé CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Desgats CLA 2011-12-09 03:47:49 EST
The syntax coloration fail to color correctly hexadecimal constants with letters into it (e.g. `0x1a4` or `0xFF`). However constants without letters (e.g. `0x123`) are colored correctly.
Comment 1 Benjamin Cabé CLA 2012-01-18 16:14:14 EST
Fixed in 1cc5e2f.
Syntax highlight is now OK for the following cases (which should represent about all the possible cases, if I am not mistaken)

n = 3
n = -3
n = 3.0
n = -3.0
n = 3.1416
n = -3.1416
n = 314.16e-2
n = -314.16e-2
n = 0.31416E1
n = -0.31416E1
n = 0xff0000
n = -0xff0000
Comment 2 Benjamin Cabé CLA 2012-01-18 16:14:17 EST
Created attachment 209703 [details]
mylyn/context/zip