pub fn new(doc_ctx: DocumentCtx, config: Config,
               buffer_id: BufferIdentifier,
               initial_view_id: &ViewIdentifier) -> Editor {
        Self::with_text(doc_ctx, config, buffer_id,
                        initial_view_id, "".to_owned())
    }
/// Creates a new `Editor` with a new empty buffer.
Creates a new `Editor` with a new empty buffer.
Creates a new ` Editor ` with a new empty buffer .
pub fn new(doc_ctx: DocumentCtx, config: Config,
               buffer_id: BufferIdentifier,
               initial_view_id: &ViewIdentifier) -> Editor {
        Self::with_text(doc_ctx, config, buffer_id,
                        initial_view_id, "".to_owned())
    }
pub fn new ( doc_ctx : DocumentCtx , config : Config , buffer_id : BufferIdentifier , initial_view_id : & ViewIdentifier ) -> Editor { Self :: with_text ( doc_ctx , config , buffer_id , initial_view_id , " " . to_owned ( ) ) }
Creates a new `Editor` with a new empty buffer.
Creates a new ` Editor ` with a new empty buffer .
doc_ctx
DocumentCtx
config
Config
buffer_id
BufferIdentifier
initial_view_id
&ViewIdentifier