src/Tools/jEdit/src/proofdocument/ProofDocument.scala
changeset 34592 b17ebec3690c
parent 34575 70d11544685f
child 34593 cf37a9f988bf
equal deleted inserted replaced
34591:35712cfcfd7a 34592:b17ebec3690c
   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     }