From 959d0d7b3a4b410c7c6946c9e77f828b60fda74d Mon Sep 17 00:00:00 2001 From: Thalia Date: Tue, 24 Nov 2015 16:29:41 -0800 Subject: [PATCH] Set autocomplete options for math dialog input Depends on I57db44c876c in ve-mw Bug: T119549 Change-Id: I80193b7b662336c65b81556eb000f3895cddf49f --- modules/ve-math/ve.ui.MWMathDialog.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ve-math/ve.ui.MWMathDialog.js b/modules/ve-math/ve.ui.MWMathDialog.js index 70eaed6..a23f51b 100644 --- a/modules/ve-math/ve.ui.MWMathDialog.js +++ b/modules/ve-math/ve.ui.MWMathDialog.js @@ -101,7 +101,8 @@ ve.ui.MWMathDialog.prototype.initialize = function () { this.input = new ve.ui.MWAceEditorWidget( { multiline: true, - rows: 7 + rows: 7, + autocomplete: 'live' } ).setLanguage( 'latex' ); this.input.togglePrintMargin( false );