equal should be included
authorimmler@in.tum.de
Wed, 15 Jul 2009 13:13:09 +0200
changeset 34655 77722b866fb4
parent 34654 30f588245884
child 34656 2740439a86b4
equal should be included
src/Tools/jEdit/src/proofdocument/ProofDocument.scala
--- a/src/Tools/jEdit/src/proofdocument/ProofDocument.scala	Mon Jul 13 14:30:39 2009 +0200
+++ b/src/Tools/jEdit/src/proofdocument/ProofDocument.scala	Wed Jul 15 13:13:09 2009 +0200
@@ -115,7 +115,7 @@
       start += (new_token -> (match_start + matcher.start))
       new_tokens ::= new_token
 
-      invalid_tokens = invalid_tokens dropWhile (stop(_) < stop(new_token))
+      invalid_tokens = invalid_tokens dropWhile (stop(_) <= stop(new_token))
       invalid_tokens match {
         case t :: ts =>
           if (start(t) == start(new_token) &&