diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-07-15 07:21:30 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-07-15 07:21:30 -0700 |
commit | 686f2f0ca2ac577d91bbd22cac1360132bb56472 (patch) | |
tree | 2431d807363e9c4123048acba05e11312121079c /ChangeLog | |
parent | 472f7ac7c4dd31c6cd9b1ea833d5a74c4e674311 (diff) | |
download | txr-686f2f0ca2ac577d91bbd22cac1360132bb56472.tar.gz txr-686f2f0ca2ac577d91bbd22cac1360132bb56472.tar.bz2 txr-686f2f0ca2ac577d91bbd22cac1360132bb56472.zip |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,5 +1,21 @@ 2014-07-15 Kaz Kylheku <kaz@kylheku.com> + 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 <kaz@kylheku.com> + Fix broken regex highlighting. * genvim.txr (txl_regex): Missing syntactic region added. |