Skip to content

Commit

Permalink
tdb: fix autoexpansion of current context
Browse files Browse the repository at this point in the history
This was broken by a trunk change to PluggableTreeMorph in spring.
  • Loading branch information
LinqLover committed Dec 29, 2023
1 parent 9253fa8 commit 6d60183
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ doStep: aBlock

interruptedContext := self interruptedContext.
interruptedTimeIndex := self cursor timeIndex.
self selectContext: interruptedContext.
self selectAndExpandContext: interruptedContext.
(self selectedContext tdbIdentical: interruptedContext) ifFalse:
[self flag: #coroutines. "Selection 'did not work'! The new context path may no longer contain the interrupted context at the expected position from the trace. Select it again without updating the context path."
self cursor timeIndex: interruptedTimeIndex.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
accessing - toolbuilder
notifierSelectContext: aContext

self selectContext: aContext.
self selectAndExpandContext: aContext.
self debug.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
accessing - context
selectAndExpandContext: aContext

self cacheSourcesDuring:
[self selectContext: aContext.
self changed: #(openPath) , (self treeSelectedContextPath collect: [:context | context asString])].
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
"doItContext" : "ct 3/15/2022 17:49",
"doItReceiver" : "ct 3/15/2022 17:26",
"doSelfUpdate" : "ct 3/12/2022 18:02",
"doStep:" : "ct 3/15/2022 18:06",
"doStep:" : "ct 12/29/2023 01:15",
"doStepBackward:" : "ct 1/26/2022 18:47",
"doStepForward:" : "ct 1/26/2022 18:47",
"dragContext:" : "ct 3/15/2022 20:50",
Expand Down Expand Up @@ -196,7 +196,7 @@
"nextFindSignature" : "ct 2/3/2022 16:39",
"nextFindSignature:" : "ct 2/3/2022 16:39",
"notifierButtonSpecs" : "ct 12/28/2023 21:35",
"notifierSelectContext:" : "ct 1/26/2022 20:16",
"notifierSelectContext:" : "ct 12/29/2023 01:15",
"notifierStackSize" : "ct 1/26/2022 20:31",
"open" : "ct 11/20/2021 15:34",
"openFull:label:" : "ct 3/19/2022 20:14",
Expand All @@ -214,6 +214,7 @@
"restart" : "ct 1/8/2022 01:26",
"rootContexts" : "ct 1/25/2022 20:02",
"runToSelection:" : "ct 2/17/2022 19:10",
"selectAndExpandContext:" : "ct 12/29/2023 01:16",
"selectContext:" : "ct 2/12/2022 21:25",
"selectedContext" : "ct 11/20/2021 22:20",
"selectedContextPath" : "ct 1/26/2022 17:06",
Expand Down

2 comments on commit 6d60183

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed Screenshots/Help

This push caused a change of 1 artifact against the default branch:

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed Screenshots/Help

This push caused a change of 1 artifact against the default branch:

Please sign in to comment.