I want to get access to all changes selected (included) in non-modal commit interface. See the attached image as a reference. I have tried it numerous times, browsing the source code, but did not succeed. Ultimatively, it would be great if I could get a revision content of file (like in Change.beforeRevision.content) and a new content of changed file, only with selected (included) changes.
For example, in the attached image, the Planet.java file has been changed in two places, one of them is included, the other is not. I want to get two contents of this file, one without any changes, and the second one with included changes.
This question was already somewhat answered on support, and I was redirected here.
Right now I am trying to implement this code:
But I was told that "... there are a few things that should be taken into account in order to make it work."