Bug 237343 - [syntax coloring] Separate setting for the semicolon
Summary: [syntax coloring] Separate setting for the semicolon
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2008-06-16 15:37 EDT by Rafael de F. Ferreira CLA
Modified: 2008-06-17 03:53 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael de F. Ferreira CLA 2008-06-16 15:37:12 EDT
In the Syntax Coloring preference pane, currently the only way to set font and coloring options for the semicolon (statement separator char) is to change the settings for all Operators. 

This is inadequate because it prevents users from toning down its typographic attributes so as to reduce visual noise. 

One solution would be to create a new setting for the semicolon.

Another would be to have it follow the settings from the "Bracket" element instead of the "Operator" element. This change is corroborated by the lexical definitions in the Java Language Spec ( http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#230752 ) that classifies the Semicolon as a Separator(3.11), along with the brackets and the comma.
Comment 1 Dani Megert CLA 2008-06-17 03:53:25 EDT
Good idea. This would be a nice (and not so hard) exercise for a contribution.