Unified: Set lineWrapping according to user preferences

Change-Id: Ie5e65804ac9d4921a71dc02c45fa8851c8c01a59
This commit is contained in:
David Pursehouse 2016-09-14 00:20:40 +02:00 committed by Hugo Arès
parent 151527a283
commit 437a130640

View File

@ -236,7 +236,7 @@ public class Unified extends DiffScreen {
.set("inputStyle", "textarea")
.set("keyMap", "vim_ro")
.set("lineNumbers", false)
.set("lineWrapping", false)
.set("lineWrapping", prefs.lineWrapping())
.set("matchBrackets", prefs.matchBrackets())
.set("mode", getFileSize() == FileSize.SMALL ? getContentType(meta) : null)
.set("readOnly", true)