Skip dimmed whitespace chunks in keyboard navigation.

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

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.

chipx86
  1. Ship It!

  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (a5be474).
Loading...