From 279103fea923fb31fc13daee5ea60050f4ca8acb Mon Sep 17 00:00:00 2001 From: Niharika Kohli Date: Tue, 5 Sep 2017 12:33:41 -0700 Subject: [PATCH] Render everything as long as user doesn't start typing/moving cursor Bug: T174480 Change-Id: I106b1d0d2a68e8ba2b346fd6aaf06b530d18f8d4 --- resources/ext.CodeMirror.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/ext.CodeMirror.js b/resources/ext.CodeMirror.js index 072df3cb..eb23e638 100644 --- a/resources/ext.CodeMirror.js +++ b/resources/ext.CodeMirror.js @@ -371,8 +371,10 @@ // T174055: Do not redefine the browser history navigation keys 'Alt-Left': false, 'Alt-Right': false - } + }, + viewportMargin: Infinity } ); + $codeMirror = $( codeMirror.getWrapperElement() ); // HACK: