fn iterate(&mut self, text: &str) {
        for (kind, c) in CharClasses::new(text.chars()) {
            if c == '\r' {
                continue;
            }

            if c == '\n' {
                self.new_line(kind);
            } else {
                self.char(c, kind);
            }
        }
    }
// Iterate over the chars in the file map.
Iterate over the chars in the file map.
Iterate over the chars in the file map .
fn iterate(&mut self, text: &str) {
        for (kind, c) in CharClasses::new(text.chars()) {
            if c == '\r' {
                continue;
            }
            if c == '\n' {
                self.new_line(kind);
            } else {
                self.char(c, kind);
            }
        }
    }
fn iterate ( & mut self , text : & str ) { for ( kind , c ) in CharClasses :: new ( text . chars ( ) ) { if c == '\r' { continue ; } if c == '\n' { self . new_line ( kind ) ; } else { self . char ( c , kind ) ; } } }
Iterate over the chars in the file map.
Iterate over the chars in the file map .
&mut self
text
&str
&mut self
text
&str