Class LineHighlightManager.LineHighlightInfoComparator

java.lang.Object
org.fife.ui.rtextarea.LineHighlightManager.LineHighlightInfoComparator
All Implemented Interfaces:
Comparator<LineHighlightManager.LineHighlightInfo>
Enclosing class:
LineHighlightManager

private static class LineHighlightManager.LineHighlightInfoComparator extends Object implements Comparator<LineHighlightManager.LineHighlightInfo>
Comparator used when adding new highlights. This is done here instead of making LineHighlightInfo implement Comparable as correctly implementing the latter prevents two LHI's pointing to the same line from correctly being distinguished from one another. See: https://github.com/bobbylight/RSyntaxTextArea/issues/161