jps wrote:It highlights the added and removed lines in a diff. Your color scheme needs to assign a colour to the relevant scopes, and not all do. The default colour scheme, Monokai Bright, does. You can see an example using the Show Unsaved Changes context menu item.
jps wrote:Show Unsaved Changes prints its results to an output panel instead of a new file
Release Date: 10 March 2011
* Diff commands work with UTF-8 files
b = self.view.substr(sublime.Region(0, self.view.size())).splitlines()
a = codecs.open(fname, "r", "utf-8").read().splitlines()
a = codecs.open(fname, "r", self.view.settings().get('fallback_encoding').rpartition('(').partition(')')).read().splitlines()
sublime.status_message("Diff only works with UTF-8 files")