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);
    }
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);
    }
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 ) ; }
Install function hint listeners.

@param {Editor} editor - editor context on which to listen for
changes
Install function hint listeners .
installs listeners for parameter hinting