Repository: zeppelin Updated Branches: refs/heads/master 26b554d64 -> 57601f819
[ZEPPELIN-3753] Fix indent with TAB ### What is this PR for? Now when you select multiline text and press TAB, text replaces with "\t" char. With this PR text just shift right if TAB have been pressed. ### What type of PR is it? Bug Fix ### What is the Jira issue? [ZEPPELIN-3753](https://issues.apache.org/jira/projects/ZEPPELIN/issues/ZEPPELIN-3753) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: oxygen311 <alex39...@mail.ru> Closes #3168 from oxygen311/DW-18011 and squashes the following commits: 941b832 [oxygen311] Fix indent with TAB Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/57601f81 Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/57601f81 Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/57601f81 Branch: refs/heads/master Commit: 57601f819977063d622e3acbcc2f2b8710087697 Parents: 26b554d Author: oxygen311 <alex39...@mail.ru> Authored: Wed Aug 29 17:33:51 2018 +0300 Committer: Felix Cheung <felixche...@apache.org> Committed: Sat Sep 1 23:50:32 2018 -0700 ---------------------------------------------------------------------- zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zeppelin/blob/57601f81/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js ---------------------------------------------------------------------- diff --git a/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js b/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js index 9a766de..1a1569a 100644 --- a/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js +++ b/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js @@ -930,7 +930,7 @@ function ParagraphCtrl($scope, $rootScope, $route, $window, $routeParams, $locat $scope.editor.execCommand('startAutocomplete'); } else { ace.config.loadModule('ace/ext/language_tools', function() { - $scope.editor.insertSnippet('\t'); + $scope.editor.indent(); }); } },