Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » eclipse rcp compare editor
eclipse rcp compare editor [message #788594] Wed, 01 February 2012 20:25 Go to next message
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

[Updated on: Fri, 03 February 2012 12:48] by Moderator

Re: eclipse rcp compare editor [message #790010 is a reply to message #788594] Fri, 03 February 2012 12:48 Go to previous messageGo to next message
Eclipse UserFriend
seems nobody knows how this compare editor works Sad

or question is not clear?
Re: eclipse rcp compare editor [message #790050 is a reply to message #790010] Fri, 03 February 2012 13:58 Go to previous message
Eclipse UserFriend
On 02/03/2012 11:48 AM, Michael Nesterenko wrote:
> seems nobody knows how this compare editor works :(
>
> or question is not clear?
Question is in wrong forum. This forum is for questions related to
Eclipse Java Development tools. You should ask RCP questions in the RCP
forum.
Previous Topic:need location (URL) of plugins
Next Topic:How to modify the Project>>New menu items
Goto Forum:
  


Current Time: Sat May 24 12:51:26 EDT 2025

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

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

Back to the top