code: public DisplayedResultQuery getSearchQuery()
    {
      return QueryGenerator.displayed()
        .query(state.getAql().getValue())
        .corpora(state.getSelectedCorpora().getValue())
        .left(state.getLeftContext().getValue())
        .right(state.getRightContext().getValue())
        .segmentation(state.getContextSegmentation().getValue())
        .baseText(state.getVisibleBaseText().getValue())
        .limit(state.getLimit().getValue())
        .offset(state.getOffset().getValue())
        .order(state.getOrder().getValue())
        .selectedMatches(state.getSelectedMatches().getValue())
        .build();
    }
docs: Get the current query as it is defined by the current {@link QueryUIState}.
  
  @return