pub fn plugin_init_info(&self) -> PluginBufferInfo {
        let nb_lines = self.text.measure::<LinesMetric>() + 1;
        let mut views = vec![self.view.view_id.to_owned()];
        for v in self.views.keys() {
            views.push(v.to_owned());
        }

        PluginBufferInfo::new(self.buffer_id, &views,
                              self.engine.get_head_rev_id().token(), self.text.len(),
                              nb_lines, self.path.clone(), self.syntax.clone())
    }
/// Returns buffer information used to initialize plugins.
Returns buffer information used to initialize plugins.
Returns buffer information used to initialize plugins .
pub fn plugin_init_info(&self) -> PluginBufferInfo {
        let nb_lines = self.text.measure::<LinesMetric>() + 1;
        let mut views = vec![self.view.view_id.to_owned()];
        for v in self.views.keys() {
            views.push(v.to_owned());
        }
        PluginBufferInfo::new(self.buffer_id, &views,
                              self.engine.get_head_rev_id().token(), self.text.len(),
                              nb_lines, self.path.clone(), self.syntax.clone())
    }
pub fn plugin_init_info ( & self ) -> PluginBufferInfo { let nb_lines = self . text . measure :: < LinesMetric > ( ) + 1 ; let mut views = vec ! [ self view view_id to_owned ( ) ] ; for v in self . views . keys ( ) { views . push ( v . to_owned ( ) ) ; } PluginBufferInfo :: new ( self . buffer_id , & views , self . engine . get_head_rev_id ( ) . token ( ) , self . text . len ( ) , nb_lines , self . path . clone ( ) , self . syntax . clone ( ) ) }
Returns buffer information used to initialize plugins.
Returns buffer information used to initialize plugins .
&self