addMarkersForRanges(occurrences, markerMap, textArea.getMarkOccurrencesColor()); Color markAllColor = textArea.getMarkAllHighlightColor(); List<DocumentRange> ranges = textArea.getMarkAllHighlightRanges(); addMarkersForRanges(ranges, markerMap, markAllColor);
addMarkersForRanges(occurrences, markerMap, textArea.getMarkOccurrencesColor()); Color markAllColor = textArea.getMarkAllHighlightColor(); List<DocumentRange> ranges = textArea.getMarkAllHighlightRanges(); addMarkersForRanges(ranges, markerMap, markAllColor);