| Summary: | Add more default themes for syntax highlighting | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> |
| Component: | Client | Assignee: | Mark Macdonald <mamacdon> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | mamacdon, simon_kaegi, susan |
| Version: | unspecified | Flags: | john.arthorne:
review+
simon_kaegi: review+ |
| Target Milestone: | 0.3 RC3 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
John Arthorne
I agree, this should be part of the polish work for RC3. According to the TextMate docs, "support" is quite abstract, so I'm not sure a default style is appropriate there. Here's the change, on a topic branch: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?h=bug360967&id=a34fcf5a47669e793c61f6d80b105122495a67e4 In a few places I used specialized rules to avoid styling very different constructs the same way. For example "keyword" affects both keyword.control (if, while) and keyword.operator (&&, ||) which normally we don't want to look the same. x I'm fine with this, and as an aside I like this direction where there are "well-known" and documented style names and am still pretty against injecting arbitrary CSS. Looks good to me. Your defaults look reasonable. I tried with my toy ruby syntax highlighter and it worked well. I also checked that our HTML files still highlight nicely. |