Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » CompareUI Dialog and "exact" differences
CompareUI Dialog and "exact" differences [message #446411] Fri, 31 July 2009 22:01
Eclipse UserFriend
Originally posted by:

Greetings all,
I've got a CompareUI dialog that displays the differences between two
strings. Currently, the code is extremely simple... just a couple of compare
items, a compareinput, and passing that into CompareUI.openCompareDialog

It does a fine enough job out of the box of showing what chunks are
different, but what I'd really like is something along the lines of what the
JUnit plugin does.... if two strings are different, say "teh" and "tah",
it'll make the different characters a different color. In the JUnit Plugin's
case, it'd make the "e" and "a" red since they are the different characters.

Does CompareUI have support for such a thing? Or does the JUnit plugin roll
its own compare dialog?

Thanks for any guidance.

Previous Topic:.settings compatability between 3.4 and 3.5
Next Topic:What Restrictions Does Eclipse Impose On Plugin Development
Goto Forum:

Current Time: Thu May 24 16:09:13 GMT 2018

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

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

Back to the top