Highlight lines changed from revision control's copy

codex 9 years ago updated by Aleksandr Gornostal 8 years ago 3
It would be nice if lines I've modified, as measured against my RCS (e.g. git) would be marked in some way--for example, by changing the color of the margin (or line number) for that line.  Different colors could be used for adds, deletes, and modifications.

This is a feature on netbeans that I really miss on sublime text. 

green: new lines
blue: modified lines
red: deleted lines (it's just an arrow pointing to deleted section)
clicking the color on the margin lets you see the diff and revert changes.
Does anyone know, is it possible to make this feature with sublimetext API?