jbrooksuk wrote:What does Diff highlighting do exactly?
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
jps wrote:You can use the diff_changes_to_buffer setting to make it like the last version
Build 2044
Release Date: 10 March 2011
* Diff commands work with UTF-8 files
try:
b = self.view.substr(sublime.Region(0, self.view.size())).splitlines()
a = codecs.open(fname, "r", "utf-8").read().splitlines()
except UnicodeDecodeError:
try:
a = codecs.open(fname, "r", self.view.settings().get('fallback_encoding').rpartition('(')[2].partition(')')[0]).read().splitlines()
except UnicodeDecodeError:
sublime.status_message("Diff only works with UTF-8 files")
returnqqq wrote:Double clicking a folder in the sidebar should unfold it (and fold if it is unfolded). Clicking on this small gray arrow is not very comfortable.
Users browsing this forum: inkytonik and 17 guests