Community
Participate
Working Groups
We are currently experimenting on leveraging the TextMergeViewer for our purpose. We are looking to reuse what's existing to use for our own type of compare viewer but we needed to make some changes to our own subclassed DocumentMerger class to only compare a certain region in the files while still displaying the entire file contents. Similar to what a clone compare viewer would do. While we have already able to subclass the DocumentMerger file, we are unable to subclass the Diff class due to its constructor being package visible. We were able to work our way around this via reflection but it would be better if we didn't have to. Therefore we would like to propose to change the DocumentMerger.Diff constructor be made protected. We are aware though that this is an internal class and any future updates might or will certainly break our code but that is something that are aware and are ok with. cheers! Joseph