// Force rendering of annotations
// TODO(danilatos): Make this only apply to the current editor.
AnnotationPainter.repaintNow(content.getContext());
savedSelection = new RangeTracker(content.getLocalAnnotations(), "savedsel");
passiveSelectionHelper.setSelectionTracker(savedSelection);
// initialise the annotation behavioural logic:
annotationLogic = new AnnotationBehaviourLogic<ContentNode>(
ROOT_ANNOTATION_REGISTRY, content.getMutableDoc(), caretStyles);