public void clearHighlightedText() {
        DocumentSearchController searchController =
                viewerController.getDocumentSearchController();
        searchController.clearAllSearchHighlight();
        documentView.repaint();
    }