瀏覽代碼

HUE-4970 [editor] Editor does not horizontally scroll on autocomplete with <enter>

Enrico Berti 9 年之前
父節點
當前提交
fe99bc71f5

File diff suppressed because it is too large
+ 0 - 0
desktop/core/src/desktop/static/desktop/js/ace/ext-language_tools.js


+ 1 - 0
tools/ace-editor/lib/ace/autocomplete.js

@@ -198,6 +198,7 @@ var Autocomplete = function() {
             } else {
                 this.editor.execCommand("insertstring", data.value || data);
             }
+            this.editor.renderer.scrollCursorIntoView();
         }
         this.detach();
     };

Some files were not shown because too many files changed in this diff