diff highlighting patterns
Volker Kuhlmann
list0570 at paradise.net.nz
Mon Jul 3 08:13:00 CEST 2006
> It might work OK, but it would probably be both more efficient, simpler, and
> more maintanable to have separate patterns and use the opening lines to
> seect which one to activate.
You mean basically making a different "language"?
I'd like added lines in blue and deleted lines in red. Unified and
normal diffs are conflicting because one uses '^---' for added lines,
the other for removed lines.
> >To fine-tune the patterns for the various diff formats, it seems to be
> >necessary to make body patterns dependent on the first 1 or 2 lines of
> >the file. Is that possible by using parent patterns, or does it make the
> >whole thing terribly inefficient?
Volker
--
Volker Kuhlmann is list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.
More information about the Discuss
mailing list