Section expand behavior when showing differences with context

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

    Section expand behavior when showing differences with context

    Scenario:

    I am showing differences with context. The cursor is on a particular difference. I want to see a bit more context above this difference. I hit the [+] in the margin, expanding several hundred lines.

    Actual behavior:

    The difference I was looking at disappears from view, and I see only the top of the expanded region. My cursor is gone.

    Expected behavior:

    Behavior is similar to the Visual Studio algorithm for outlining expansion, in that the cursor always stays on the screen. I see as much of the bottom of the expanded region as possible, showing more context for the difference, while keeping the cursor visible. Perhaps I also notice a [-] in the margin at both the top and the bottom of the newly expanded region, allowing me to re-collapse it from either place.


    Is anyone else finding this disorienting?
Working...