I have two files with some similar program functions in. But these functions are not ordered
File 1: | File 2: function a | function c | function b | function e | function c | function a
Now I want compare "function a" from file 1 with this from file 2, and so with "function c".
The only thing I can think of is to put the parts to diff in own files. But I don't like this idea (as you can think of).
So how can I select a part of a file on my left pane and one on my right pane and start a diff?
It would be great, if this works for the same file either, to comepare e.g. "function a" and "function b" in file 1.