SideBySide: Make cursor blink rate customizable

Now, that we migrated diff user preferences to Git backend, we can
easily introduce one of the most wanted customization option: blinking
cursor.

Set default to 0: no blinking cursor, to be backwards compatible.

Change-Id: I40a3a43ea7636508f45badc4946d2f2455adb192
This commit is contained in:
David Ostrovsky
2015-06-20 13:19:34 +02:00
committed by David Pursehouse
parent 2a9692c8b2
commit ca09f4717d
7 changed files with 40 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ public class DiffPreferencesInfo {
public Integer context;
public Integer tabSize;
public Integer lineLength;
public Integer cursorBlinkRate;
public Boolean expandAllComments;
public Boolean intralineDifference;
public Boolean manualReview;
@@ -65,6 +66,7 @@ public class DiffPreferencesInfo {
i.context = DEFAULT_CONTEXT;
i.tabSize = DEFAULT_TAB_SIZE;
i.lineLength = DEFAULT_LINE_LENGTH;
i.cursorBlinkRate = 0;
i.ignoreWhitespace = Whitespace.IGNORE_NONE;
i.theme = Theme.DEFAULT;
i.expandAllComments = false;