[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: Comparison
|
- From: Andre Weinand <Andre_Weinand@xxxxxxx>
- Date: Mon, 06 Aug 2001 21:02:13 +0200
- Newsgroups: eclipse.tools
- Organization: EclipseCorner
- User-agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
For files with missing or unknown extension the compare plugin tries to
determine whether a text compare viewer can be used by looking at the first
1000 characters: if at least one character value falls in the range 128-255
the file is assumed to be binary and the binary compare viewer is used.
To force the use of the text compare viewer for specific extensions add the
names of the extension to the extension list of the TextMergeViewer in the
Compare plugin's XML file (In 2.0 there will be a preference UI for this).
However this doesn't work for files without extensions. But it is planned to
improve above's algorithm for 2.0.
--andre