#84 Completely new *diff syntax(es)

closed
nobody
Feature (36)
5
2008-10-26
2007-05-07
Dirk_S.
No

Meanwhile I finished (re)writing the syntax highlighting for diff-files. There are 4 files
udiff.jsf -- for unified diffs
cdiff.jsf -- for context diffs
ndiff.jsf -- for "normal" diffs
_diff.jsf -- all together, for mixed or unknown diffs

I thought it would be faster to process a shorter file in cases where the type of diff is well known, that's why there are files for each diff type, plus one that contains "all of them", so to say. If speed is not affected, '_diff.jsf' can fully replace 'diff.jsf'.

There are also 2 snippets of an 'ftyperc' file, one that uses all 4 abovementioned files and one that only uses '_diff.jsf'. Your choice.

Please try and if you have a suggestion, make a comment here.

Dirk

Discussion

  • Dirk_S.
    Dirk_S.
    2007-05-07

    Contains udiff.jsf, cdiff.jsf, ndiff.jsf, _diff.jsf, ftyperc.snippet-1-file, ftyperc.snippet-4-files

     
  • Dirk_S.
    Dirk_S.
    2007-05-11

    contains the same as before, only better ^-^

     
  • Dirk_S.
    Dirk_S.
    2007-05-11

    Logged In: YES
    user_id=1448128
    Originator: YES

    New version with several little improvements
    File Added: joe-diff-syntax.tar.gz

     
  • Joe Allen
    Joe Allen
    2008-10-26

    I've included your new _diff.jsf file. Thanks.

     
  • Joe Allen
    Joe Allen
    2008-10-26

    • status: open --> closed