code: function installListeners(editor) {
          editor.on("keydown.ParameterHinting", function (event, editor, domEvent) {
                  if (domEvent.keyCode === KeyEvent.DOM_VK_ESCAPE) {
                      dismissHint(editor);
                  }
              }).on("scroll.ParameterHinting", function () {
                  dismissHint(editor);
              })
              .on("editorChange.ParameterHinting", _handleChange)
              .on("keypress.ParameterHinting", _handleKeypressEvent);
      }
docs: Install function hint listeners.
  
  @param {Editor} editor - editor context on which to listen for
  changes