InlineEdit: make autoindent width (indentUnit) configurable
Allow to configure the indent unit for inline edit mode. Currently it is not possible to configure it per file-type (e.g java:2, python:4), but one can adjust it via the edit preferences. Change-Id: Ie5167c615f963212f53ec3c87c687dba0f043010
This commit is contained in:
@@ -18,6 +18,7 @@ package com.google.gerrit.extensions.client;
|
||||
public class EditPreferencesInfo {
|
||||
public Integer tabSize;
|
||||
public Integer lineLength;
|
||||
public Integer indentUnit;
|
||||
public Integer cursorBlinkRate;
|
||||
public Boolean hideTopMenu;
|
||||
public Boolean showTabs;
|
||||
@@ -33,6 +34,7 @@ public class EditPreferencesInfo {
|
||||
EditPreferencesInfo i = new EditPreferencesInfo();
|
||||
i.tabSize = 8;
|
||||
i.lineLength = 100;
|
||||
i.indentUnit = 2;
|
||||
i.cursorBlinkRate = 0;
|
||||
i.hideTopMenu = false;
|
||||
i.showTabs = true;
|
||||
|
||||
Reference in New Issue
Block a user