diff.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0"?>
  2. <!-- $Id: diff.xml,v 1.1 2007/06/03 02:35:28 ssttoo Exp $ -->
  3. <highlight lang="diff" case="yes">
  4. <authors>
  5. <author name="Andrey Demenev" email="demenev@gmail.com"/>
  6. </authors>
  7. <default innerClass="default" />
  8. <block name="noNewLine" match="/^\\\sNo\snewline.+$/m" innerClass="special"/>
  9. <block name="diffSeparator" match="/^\-\-\-$/m" innerClass="code"/>
  10. <block name="diffCmdLine" match="/^(diff\s+\-|Only\s+|Index).*$/m" innerClass="var"/>
  11. <block name="diffFiles" match="/^(\-\-\-|\+\+\+)\s.+$/m" innerClass="reserved"/>
  12. <block name="contextOrg" match="/^\*.*$/m" innerClass="quotes"/>
  13. <block name="contextNew" match="/^\+.*$/m" innerClass="string"/>
  14. <block name="contextChg" match="/^!.*$/m" innerClass="inlinedoc"/>
  15. <block name="defOrg" match="/^\&lt;\s.*$/m" innerClass="quotes"/>
  16. <block name="defNew" match="/^\&gt;\s.*$/m" innerClass="string"/>
  17. <block name="defChg" match="/^\d+(\,\d+)?[acd]\d+(,\d+)?$/m" innerClass="code"/>
  18. <block name="uniOrg" match="/^\-.*$/m" innerClass="quotes"/>
  19. <block name="uniNew" match="/^\+.*$/m" innerClass="string"/>
  20. <block name="uniChg" match="/^@@.+@@$/m" innerClass="code"/>
  21. <block name="normOrg" match="/^d\d+\s\d+$/m" innerClass="code"/>
  22. <region name="normNew" start="/^a\d+\s\d+$/m" end="/(?=^[ad]\d+\s\d+)/m" innerClass="var" delimClass="code"/>
  23. <region name="edNew" start="/^(\d+)(,\d+)?(a)$/m" end="/^(\.)$/m" innerClass="string" delimClass="code"/>
  24. <region name="edChg" start="/^(\d+)(,\d+)?(c)$/m" end="/^(\.)$/m" innerClass="inlinedoc" delimClass="code"/>
  25. <block name="edDel" match="/^(\d+)(,\d+)?(d)$/m" innerClass="code"/>
  26. <region name="fedNew" start="/^a(\d+)(\s\d+)?$/m" end="/^(\.)$/m" innerClass="string" delimClass="code"/>
  27. <region name="fedChg" start="/^c(\d+)(\s\d+)?$/m" end="/^(\.)$/m" innerClass="inlinedoc" delimClass="code"/>
  28. <block name="fedDel" match="/^d(\d+)(\s\d+)?$/m"
  29. innerClass="code"/>
  30. </highlight>