Repository: zeppelin Updated Branches: refs/heads/branch-0.8 d30040aa5 -> 4cb60f4a4
[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 (cherry picked from commit 57601f819977063d622e3acbcc2f2b8710087697) Signed-off-by: Jeff Zhang <zjf...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/4cb60f4a Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/4cb60f4a Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/4cb60f4a Branch: refs/heads/branch-0.8 Commit: 4cb60f4a48148ca2949d42921628200fd742d7e1 Parents: d30040a Author: oxygen311 <alex39...@mail.ru> Authored: Wed Aug 29 17:33:51 2018 +0300 Committer: Jeff Zhang <zjf...@apache.org> Committed: Tue Sep 18 08:22:41 2018 +0800 ---------------------------------------------------------------------- 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/4cb60f4a/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 49e4806..236c8b9 100644 --- a/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js +++ b/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js @@ -912,7 +912,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(); }); } },