• 
      

    Skip dimmed whitespace chunks in keyboard navigation.

    Review Request #5640 — Created March 17, 2014 and submitted — Latest diff uploaded

    Information

    Review Board
    release-2.0.x
    fd20cef...

    Reviewers

    When "Hide whitespace changes" is selected, changes to trailing whitespace are
    shown as equal instead of a replace. Unfortunately, the next/previous keyboard
    shortcuts were still stopping to highlight these chunks.

    This change fixes up _getNextAnchor to take into account whether or not the
    parent chunk of the anchor is dimmed or not.

    Created a diff with some whitespace changes, hid those changes, and then
    browsed around with the keyboard. Made sure that it worked as expected when the
    changes were shown.