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 16:15
Michael Nesterenko is currently offline Michael Nesterenko
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:

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:Problem with 3.8M5 Update Sites disappearing
Next Topic:How to change folder path in Eclipse's custom Import Wizard
Goto Forum:
  


Current Time: Thu Aug 28 11:20:27 EDT 2014

Powered by FUDForum. Page generated in 0.02939 seconds