private void removeHighlights() {
            for (int i = 0; i < tabbedPane.getTabCount(); i++) {
                ChannelPanel channel = (ChannelPanel) tabbedPane.getComponentAt(i);
                DefaultHighlighter highlighter = (DefaultHighlighter) channel.chatPane.getHighlighter();
                highlighter.removeAllHighlights();
                channel.lastSearchIndex = -1;
            }
        }