Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 197530 - [syntax highlighting] Syntax highlighting doesn't support task tags that contains non letter characters
Summary: [syntax highlighting] Syntax highlighting doesn't support task tags that cont...
Status: RESOLVED DUPLICATE of bug 58205
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: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-23 15:06 EDT by Olivier Thomann CLA
Modified: 2007-07-24 02:26 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2007-07-23 15:06:03 EDT
See bug 53727, using the fix for this bug, even if the compiler now reports the right priority, the highlighting is still not good.
To reproduce, apply the patch from bug 53727 and compile some code where you use tags that start with the same characters like:
TODO AK and TODO.
Only TODO gets highlighted.
Comment 1 Olivier Thomann CLA 2007-07-23 22:56:35 EDT
The problem seems to be more that the syntax highlighting doesn't support task names like these:
"TODO AK" => contains a space
"TODO!" or "TODO?" => contains a '!' or a '?'.
This is a limitation that the java compiler doesn't have. I don't see a reason why the syntax highlighter has it.
Comment 2 Dani Megert CLA 2007-07-24 02:26:52 EDT

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