EditScreen: Format with google-java-format

Change-Id: If69b9af381340ec4158f60250c46710fdf93fa22
This commit is contained in:
David Pursehouse
2017-06-29 10:40:45 +09:00
parent 909666c2b0
commit 697eed2c66

View File

@@ -572,16 +572,24 @@ public class EditScreen extends Screen {
}
}
Configuration cfg = Configuration.create().set("autoCloseBrackets", prefs.autoCloseBrackets())
.set("cursorBlinkRate", prefs.cursorBlinkRate()).set("cursorHeight", 0.85)
.set("indentUnit", prefs.indentUnit())
.set("keyMap", prefs.keyMapType().name().toLowerCase())
.set("lineNumbers", prefs.hideLineNumbers()).set("lineWrapping", false)
.set("matchBrackets", prefs.matchBrackets()).set("mode", mode != null ? mode.mime() : null)
.set("origLeft", editContent).set("scrollbarStyle", "overlay")
.set("showTrailingSpace", prefs.showWhitespaceErrors()).set("styleSelectedText", true)
.set("tabSize", prefs.tabSize()).set("theme", prefs.theme().name().toLowerCase())
.set("value", "");
Configuration cfg =
Configuration.create()
.set("autoCloseBrackets", prefs.autoCloseBrackets())
.set("cursorBlinkRate", prefs.cursorBlinkRate())
.set("cursorHeight", 0.85)
.set("indentUnit", prefs.indentUnit())
.set("keyMap", prefs.keyMapType().name().toLowerCase())
.set("lineNumbers", prefs.hideLineNumbers())
.set("lineWrapping", false)
.set("matchBrackets", prefs.matchBrackets())
.set("mode", mode != null ? mode.mime() : null)
.set("origLeft", editContent)
.set("scrollbarStyle", "overlay")
.set("showTrailingSpace", prefs.showWhitespaceErrors())
.set("styleSelectedText", true)
.set("tabSize", prefs.tabSize())
.set("theme", prefs.theme().name().toLowerCase())
.set("value", "");
if (editContent.contains("\r\n")) {
cfg.set("lineSeparator", "\r\n");