equal
deleted
inserted
replaced
368 |
368 |
369 @tailrec final def await_stable_snapshot(): Document.Snapshot = |
369 @tailrec final def await_stable_snapshot(): Document.Snapshot = |
370 { |
370 { |
371 val snapshot = this.snapshot() |
371 val snapshot = this.snapshot() |
372 if (snapshot.is_outdated) { |
372 if (snapshot.is_outdated) { |
373 PIDE.options.seconds("editor_output_delay").sleep |
373 PIDE.options.seconds("editor_output_delay").sleep() |
374 await_stable_snapshot() |
374 await_stable_snapshot() |
375 } |
375 } |
376 else snapshot |
376 else snapshot |
377 } |
377 } |
378 } |
378 } |