function initializeSession(editor, previousEditor) {
            session = new Session(editor);
            ScopeManager.handleEditorChange(session, editor.document,
                previousEditor ? previousEditor.document : null);
            phProvider.setSession(session);
            cachedHints = null;
        }
Inserts the hint selected by the user into the current editor.

@param {jQuery.Object} $hintObj - hint object to insert into current editor
@return {boolean} - should a new hinting session be requested
     immediately after insertion?