equal
deleted
inserted
replaced
467 def background( |
467 def background( |
468 elements: Markup.Elements, |
468 elements: Markup.Elements, |
469 range: Text.Range, |
469 range: Text.Range, |
470 focus: Rendering.Focus |
470 focus: Rendering.Focus |
471 ) : List[Text.Info[Rendering.Color.Value]] = { |
471 ) : List[Text.Info[Rendering.Color.Value]] = { |
472 val now = Time.now() |
472 val now = Date.now() |
473 for { |
473 for { |
474 Text.Info(r, result) <- |
474 Text.Info(r, result) <- |
475 snapshot.cumulate[(List[Markup], Option[Rendering.Color.Value])]( |
475 snapshot.cumulate[(List[Markup], Option[Rendering.Color.Value])]( |
476 range, (List(Markup.Empty), None), elements, |
476 range, (List(Markup.Empty), None), elements, |
477 command_states => |
477 command_states => |
762 |
762 |
763 |
763 |
764 /* command status overview */ |
764 /* command status overview */ |
765 |
765 |
766 def overview_color(range: Text.Range): Option[Rendering.Color.Value] = { |
766 def overview_color(range: Text.Range): Option[Rendering.Color.Value] = { |
767 val now = Time.now() |
767 val now = Date.now() |
768 if (snapshot.is_outdated) None |
768 if (snapshot.is_outdated) None |
769 else { |
769 else { |
770 val results = |
770 val results = |
771 snapshot.cumulate[List[Markup]](range, Nil, Document_Status.Command_Status.liberal_elements, |
771 snapshot.cumulate[List[Markup]](range, Nil, Document_Status.Command_Status.liberal_elements, |
772 _ => |
772 _ => |