diff -r 8ce97e5d545f -r f5d73caba4e5 src/Pure/PIDE/document.ML --- a/src/Pure/PIDE/document.ML Tue Aug 12 18:54:53 2014 +0200 +++ b/src/Pure/PIDE/document.ML Tue Aug 12 20:18:27 2014 +0200 @@ -318,7 +318,7 @@ val span = Lazy.lazy (fn () => Position.setmp_thread_data (Position.id_only id) - (fn () => Outer_Syntax.parse_tokens (Keyword.get_lexicons ()) (Position.id id) text) ()); + (fn () => Outer_Syntax.scan (Keyword.get_lexicons ()) (Position.id id) text) ()); val _ = Position.setmp_thread_data (Position.id_only id) (fn () => Output.status (Markup.markup_only Markup.accepted)) ();