Bug 207960

Summary: [syntax highlighting] number syntax highlighting should contain dot
Product: [Eclipse Project] JDT Reporter: Benno Baumgartner <benno.baumgartner>
Component: TextAssignee: André Søreng <andreis>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 3.3Keywords: contributed
Target Milestone: 3.4 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Semantic syntax highlight support for numbers none

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 ***