Allow tab to process as 'next' in preview mode

This commit is contained in:
Bryan Ashby 2016-10-02 13:46:12 -06:00
parent ac35d3506d
commit c715bb7731
1 changed files with 6 additions and 1 deletions

View File

@ -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;
}