Bug 72395 - Comparator viewer does not highlight on new File Types
Summary: Comparator viewer does not highlight on new File Types
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.0   Edit
Assignee: Alain Magloire CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 72796
Blocks:
  Show dependency tree
 
Reported: 2004-08-21 21:19 EDT by Alain Magloire CLA
Modified: 2009-01-09 14:57 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alain Magloire CLA 2004-08-21 21:19:52 EDT
> another thing I recall:
> 
> if I compare two such files (*.pc), they are compared as Text only.  There is
> completely no syntax highlighting at all in the compare view.  

> When I edit *.pc, I see highlighting of keywords (even in comments!),
> preprocessor directives, characters between single quotes (not between the
> double ones).

This is another problem, the compare viewer comparator definition
of what partitionner to use is define in the plugin.xml and it is base on ...
extensions and filenames ... unfortunately this mean that this is static.
The new IContentType stuff put in place in Eclispse-3.0 does not seem
to help either .. 
I will move this to a new PR.
Comment 1 Alain Magloire CLA 2004-08-27 15:46:47 EDT
Allright, after exchanging with The Eclipse/Runtime folks
There may be a solution to this

https://bugs.eclipse.org/bugs/show_bug.cgi?id=72796
Comment 2 Alain Magloire CLA 2004-11-03 11:08:01 EST
To be able to do this we need support from Eclipse-3.1 IContentTypeManager
extension point.
Comment 3 Alain Magloire CLA 2005-06-09 15:15:07 EDT
CDT is now using the IContentTypeManager framework.

Marking this has fix