ref: bf1135d2522f8b0052187253f972ec59cfbe9f9f
parent: 8ebb6feb1ca4d27d7a6155846dc7ea0c880c9316
author: phil9 <telephil9@gmail.com>
date: Sun May 29 01:11:48 EDT 2022
fix highlighting a couple of issues with highlighting: - Line removal regex was not matching lines that contained a dash - Last message line was never checked for highlighting - Highlights were not reset between messages leading to wrong highlights - Each line was copied to a temporary buffer before trying to find a highlight. We now do the regex matching on the original buffer.