From c715bb773134260d8a1df154a0c05b8f950f980b Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sun, 2 Oct 2016 13:46:12 -0600 Subject: [PATCH] Allow tab to process as 'next' in preview mode --- core/multi_line_edit_text_view.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/multi_line_edit_text_view.js b/core/multi_line_edit_text_view.js index 0b05747a..4ef55590 100644 --- a/core/multi_line_edit_text_view.js +++ b/core/multi_line_edit_text_view.js @@ -1023,7 +1023,12 @@ MultiLineEditTextView.prototype.getData = function() { MultiLineEditTextView.prototype.setPropertyValue = function(propName, value) { switch(propName) { - case 'mode' : this.mode = value; break; + case 'mode' : + this.mode = value; + if('preview' === value && !this.specialKeyMap.next) { + this.specialKeyMap.next = [ 'tab' ]; + } + break; case 'autoScroll' : this.autoScroll = value; break; }