I am working on a IDEA VCS plugin for Git and have an issue that I can't figure out. When editing a file, the IDEA editor correctly marks lines with gutter colors when making changes. When re-opening the changed file, all of the change markers are lost. Can I somehow get it to compare agains the VCS HEAD version on open so that it will correctly indicate what has changed in the file since the last VCS commit? Basically, I want the change markers to compare against the VCS, not just the current editing session.
In a probably unrelated issue, when pulling up a diff using my "Compare against repository version..." action, the side-by-side diff does seem to work, but the insert/delete colors/indicators are reversed. It seems to think what was inserted was deleted & etc. Any ideas?