Announcement

Collapse
No announcement yet.

Hide/Show Context: Template/Function/Methods

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hide/Show Context: Template/Function/Methods

    Here's what I'd like to do:

    Say the file diff shows:
    Code:
    function foo(){
      alert(myVar);
    }
    function bar(){
      alert(yourVar);
      [COLOR="red"]alert('New Alert'); // difference - only shows on right side[/COLOR]
    }
    function baz(){
      alert('hello world');
    }
    I'd like to click "Hide Context" and for the unmodified functions to disappear. The result would be
    Code:
    function bar(){
      alert(yourVar);
      [COLOR="red"]alert('New Alert'); // difference - only shows on right side[/COLOR]
    }
    The same would apply for XSL/XML/etc. Any ideas?

  • #2
    Hello,

    The number of lines our Show Context option displays is controlled in the Tools menu -> Options, File Views, Text section. Once configured, you can Show Only Differences and also enable Show Context so show just different lines with immediate context around them. We do not have a method of detecting the function declaration; this is on our Customer Wishlist but is not currently scheduled development. Our Customer Wishlist is a place our developers go to for ideas for future features or enhancements.
    Aaron P Scooter Software

    Comment

    Working...
    X