equal
deleted
inserted
replaced
120 |
120 |
121 invalid_tokens = invalid_tokens dropWhile (stop(_) < stop(new_token)) |
121 invalid_tokens = invalid_tokens dropWhile (stop(_) < stop(new_token)) |
122 invalid_tokens match { |
122 invalid_tokens match { |
123 case t::ts => if(start(t) == start(new_token) && |
123 case t::ts => if(start(t) == start(new_token) && |
124 start(t) > change.start + change.added.length) { |
124 start(t) > change.start + change.added.length) { |
125 old_suffix = ts |
125 old_suffix = t::ts |
|
126 new_tokens = new_tokens.tail |
126 invalid_tokens = Nil |
127 invalid_tokens = Nil |
127 } |
128 } |
128 case _ => |
129 case _ => |
129 } |
130 } |
130 } |
131 } |