Reputation: 505
I used two MATLAB Edit Texts to display data side by side.
I would like to highlight the differences between the two Edit Texts. The characters which are different should appear in red. Is there any method to achieve this?
An example of the intended output is shown:
Upvotes: 0
Views: 204
Reputation: 18484
It's not officially supported, as far as I know, but you can do this with HTML and bunch of hacking around with undocumented functions and Java. This post on the Undocumented Matlab site goes through the gory details. In particular, you'll need the findjobj
utility from the MathWorks File Exchange.
Upvotes: 2