From 686f2f0ca2ac577d91bbd22cac1360132bb56472 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 15 Jul 2014 07:21:30 -0700 Subject: Fix old, known syntax highlighting problems between symbols, integers and floating literals. * genvin.txr (txr_num): The general solution is to over-match a number by one character: a non-token constituent, and then subtract that from the highlight region using me=e-1. This solves the prefix ambiguities between numbers and symbols. (txr_badnum): New match: matches floating literals with trailing junk, which are highlighted as errors. (txr_directive, txr_list, txr_bracket, txr_mlist, txr_mbracket): All of these contain a txr_badnum. * txr.vim: Regenerated. --- ChangeLog | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 32c5815a..41e49376 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2014-07-15 Kaz Kylheku + + Fix old, known syntax highlighting problems between symbols, + integers and floating literals. + + * genvin.txr (txr_num): The general solution is to over-match + a number by one character: a non-token constituent, and then + subtract that from the highlight region using me=e-1. + This solves the prefix ambiguities between numbers and symbols. + (txr_badnum): New match: matches floating literals with trailing + junk, which are highlighted as errors. + (txr_directive, txr_list, txr_bracket, txr_mlist, txr_mbracket): + All of these contain a txr_badnum. + + * txr.vim: Regenerated. + 2014-07-15 Kaz Kylheku Fix broken regex highlighting. -- cgit v1.2.3