Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

[HighlightOutOfScopeLines] out of scope lines are not being cleared on resume #3123

@jasonLaster

Description

@jasonLaster

We grey out the out of scope lines when we pause. We currently update the out of scope lines when you step, but leave them there when you resume. We should obviously clear them out :)

This should do it:

diff --git a/src/reducers/ast.js b/src/reducers/ast.js
index 5702bf1..ad9b2db 100644
--- a/src/reducers/ast.js
+++ b/src/reducers/ast.js
@@ -50,6 +50,10 @@ function update(
       return state.set("selection", null);
     }

+    case "RESUMED": {
+      return state.set("outOfScopeLocations", null);
+    }
+
     case "SET_SELECTION": {
       if (action.status == "start") {
         return state.set("selection", {

screenshot

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Priority

    None yet

    Jira

    None yet

    Severity

    None yet

    Estimate

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions