Bug 207960 - [syntax highlighting] number syntax highlighting should contain dot
Summary: [syntax highlighting] number syntax highlighting should contain dot
Status: RESOLVED DUPLICATE of bug 63573
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M3   Edit
Assignee: André Søreng CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-10-30 08:14 EDT by Benno Baumgartner CLA
Modified: 2007-10-31 13:16 EDT (History)
1 user (show)

See Also:


Attachments
Semantic syntax highlight support for numbers (8.72 KB, patch)
2007-10-30 14:19 EDT, André Søreng CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benno Baumgartner CLA 2007-10-30 08:14:12 EDT
I20071029-1800

Given:
 double d= .5;

Is:
 the '.' is not highlighted as part of the number
Should:
 be highlighted

Sorry André ;-)
Comment 1 André Søreng CLA 2007-10-30 14:19:17 EDT
Created attachment 81617 [details]
Semantic syntax highlight support for numbers

Attaching a hopefully final patch for highlighting of numbers.
This one uses semantic highlighting. Hence, whatever the
"real-time" compiler in eclipse considers a number literal
will be highlighted.

Daniel, please revert the previous patch.
Comment 2 Dani Megert CLA 2007-10-31 13:14:15 EDT
Marking as dup of the main feature request which also contains the patch.

*** This bug has been marked as a duplicate of bug 63573 ***