@Override
    public void bulkUpdateStarting(@NotNull Document document) {
      for (Caret caret : myEditor.getCaretModel().getAllCarets()) {
        caret.putUserData(TRACKED_SCOPES, null);
      }
    }
@Override
    public void bulkUpdateStarting(@NotNull Document document)