forked from eclipse-platform/eclipse.platform.ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use optionally computed content type from CompareConfiguration
Detected content type id could be retrieved now from the CompareConfiguration with the CONTENT_TYPE key (see eclipse-platform/eclipse.platform#1294). Use this value (if available) as fallbackContentTypes in ExtensionBasedTextViewerConfiguration. The allows GenericEditorMergeViewer to know for which content type was it actually created and so use that in cases where the content type can't be derived from the input (like data from git revisions that don't have regular files or buffers associated to the viewer). Fixes eclipse-platform#1747
- Loading branch information
1 parent
41e1e3f
commit d1fbc3c
Showing
3 changed files
with
52 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters