Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » weird behaviour of compare editor
weird behaviour of compare editor [message #791494] Sun, 05 February 2012 17:52
Eclipse UserFriend
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:

http://img823.imageshack.us/img823/3796/comparees.png

How can it be fixed?

In my own subclass of CompareEditorInput:
@Override
	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:How to maximize/restore view?
Next Topic:How to get rid of Java perspective
Goto Forum:
  


Current Time: Thu Nov 06 18:57:45 EST 2025

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

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

Back to the top