function createInlineEditorForDocument(doc, range, inlineContent, additionalKeys) {
        // Create the Editor
        var inlineEditor = _createEditorForDocument(doc, false, inlineContent, range, additionalKeys);
        
        $(exports).triggerHandler("focusedEditorChange", inlineEditor);
        
        return { content: inlineContent, editor: inlineEditor };
    }
Creates a new inline Editor instance for the given Document. The editor's mode is inferred
based on the file extension. The editor is not yet visible or attached to a host editor.
@param {!Document} doc  Document for the Editor's content
@param {?{startLine:Number, endLine:Number}} range  If specified, all lines outside the given
     range are hidden from the editor. Range is inclusive. Line numbers start at 0.
@param {HTMLDivContainer} inlineContent
@param  {function(inlineWidget)} closeThisInline

@return {{content:DOMElement, editor:Editor}}