Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » eclipse rcp compare editor
eclipse rcp compare editor [message #790122] Fri, 03 February 2012 21:15
Michael Nesterenko is currently offline Michael NesterenkoFriend
Messages: 12
Registered: August 2011
Junior Member
I try to compare two texts with eclipse compare editor. Texts are rather similar and I turned on whitespace ignoring, but for some reason comparer returns weird result:

How can it be fixed?

In my own subclass of CompareEditorInput:
	protected Object prepareInput(IProgressMonitor pm) {
		return new DiffNode(null, Differencer.CHANGE, null, getLeftItem(), getRightItem());

getLeftITem/getRightItem returns instance of

class CompareItem implements IEncodedStreamContentAccessor, ITypedElement, IEditableContent, Cloneable
Previous Topic:CommandContributionItem does not set checkedState for radio styles
Next Topic:TreeViewer using two cell editors (click/doubleclick)
Goto Forum:

Current Time: Mon Apr 23 05:35:44 GMT 2018

Powered by FUDForum. Page generated in 0.01794 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software