W3C home > Mailing lists > Public > spec-prod@w3.org > April to June 2010

ReSpec.js and diff marking

From: Shane McCarron <shane@aptest.com>
Date: Thu, 15 Apr 2010 11:36:43 -0500
Message-ID: <4BC7409B.6080607@aptest.com>
To: Spec Prod <spec-prod@w3.org>
I introduced a feature recently, and I didn't really tell anyone about 
it because it is sort of a proof-of-concept thing.  Basically, if you 
tell ReSpec.js where to find a diffmarking tool, then ctrl-alt-shift-s 
menu will show a diffmark option.  This option will take the current 
document and the document that is considered 'previous' and diff mark 
them into a new browser window.  I find this REALLY handy when editing.

Here's how you use it:

    set the configuration option diffTool:             

If your previousURI is not in TR space... and mine usually are not 
because I take snapshots of editors drafts for the working group to 
review, then you should also set previousURI.  If you don't set that, 
then it will figure it out from the other settings.

Anyway, I would be interested in feedback on this!

Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com
Received on Thursday, 15 April 2010 16:37:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:42:18 UTC