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 18:01
Eclipse User
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: Mon Sep 01 07:24:51 EDT 2014

Powered by FUDForum. Page generated in 0.02327 seconds