Save a Comparison Electronically

Eileen Zagiel's Avatar

Eileen Zagiel

17 Aug, 2010 03:50 PM

We are using the Versions tool and are wanting to save the output electronically including saving the color/highlighting. Is there a way to do this? We've tried a few different programs to 'copy and paste' the text in but the color/highlighting is lost.

Thanks.

Eileen Zagiel
Functional Analyst
Student Information Systems Division
University of Saskatchewan
Saskatoon SK Canada

  1. Support Staff 1 Posted by Tim on 17 Aug, 2010 07:33 PM

    Tim's Avatar

    Hi Eileen,

    The comparison tool adds <span> tags which include CSS styles specific to the system. In order for the color/highlighting to be included along with the text, you would need to create a new CSS file which contains each of those classes along with similar styling. This way, when you viewed the copy of the code locally it would associate those styles with styles on your machine.

    You should be able to view the source code of the page in Cascade Server and see what the styles currently are - for example, you will see comments like this:

       /*
      * Styles for the HTML Diff
      */
     ....

    Underneath those comments you will see the corresponding classes.

    Does this make sense? Let me know if you have further questions.

    Thanks

  2. 2 Posted by Eileen Zagiel on 17 Aug, 2010 07:58 PM

    Eileen Zagiel's Avatar

    Tim:

    Thanks for your quick response. I've forwarded the information to the technical person that's worked on this for him to provide me with the CSS files. If I have further questions I'll get in touch with you again.

    Thanks.

    Eileen Zagiel

  3. Support Staff 3 Posted by Tim on 17 Aug, 2010 08:03 PM

    Tim's Avatar

    Sounds good Eileen. Thanks for the update.

  4. Tim closed this discussion on 17 Aug, 2010 08:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac