Explorar o código

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

Enrico Berti %!s(int64=9) %!d(string=hai) anos
pai
achega
fe99bc7

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 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();
     };

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio