Improve performance when looking for a URLAction on a very long line. Limit the number of characters considered and optimize OffsetOfWrappedLine for the no-DWC-present case.