pub fn join_lines(&self, frange: FileRange) -> Cancelable<TextEdit> {
        self.with_db(|db| {
            let parse = db.parse(frange.file_id);
            join_lines::join_lines(&parse.tree(), frange.range)
        })
    }
/// Returns an edit to remove all newlines in the range, cleaning up minor
/// stuff like trailing commas.
Returns an edit to remove all newlines in the range, cleaning up minor
stuff like trailing commas.
Returns an edit to remove all newlines in the range cleaning up minor stuff like trailing commas .
pub fn join_lines(&self, frange: FileRange) -> Cancelable<TextEdit> {
        self.with_db(|db| {
            let parse = db.parse(frange.file_id);
            join_lines::join_lines(&parse.tree(), frange.range)
        })
    }
pub fn join_lines ( & self , frange : FileRange ) -> Cancelable < TextEdit > { self . with_db ( | db | { let parse = db . parse ( frange . file_id ) ; join_lines :: join_lines ( & parse . tree ( ) , frange . range ) } ) }
Returns an edit to remove all newlines in the range, cleaning up minor
stuff like trailing commas.
Returns an edit to remove all newlines in the range cleaning up minor stuff like trailing commas .
&self
frange
FileRange