HighlightsCalculator

Helper to calculate matching ranges suitable for NSAttributedString attributes