Преглед на файлове

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

Enrico Berti преди 9 години
родител
ревизия
fe99bc71f5
променени са 2 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 0 0
      desktop/core/src/desktop/static/desktop/js/ace/ext-language_tools.js
  2. 1 0
      tools/ace-editor/lib/ace/autocomplete.js

Файловите разлики са ограничени, защото са твърде много
+ 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();
     };

Някои файлове не бяха показани, защото твърде много файлове са промени