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: marc.esher.comcast.net

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.

Marc
Previous Topic:team "dirty" label decorators for custom models
Next Topic:Common Navigator setup question
Goto Forum:
  


Current Time: Fri Apr 26 00:35:41 GMT 2024

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

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

Back to the top