Parcourir la source

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

Enrico Berti il y a 9 ans
Parent
commit
fe99bc7

Fichier diff supprimé car celui-ci est trop grand
+ 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();
     };

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff