find call with respect of cursor position inside branch

This commit is contained in:
Dmitry Vasilev
2023-08-02 06:00:08 +03:00
parent adbca074c2
commit 54d502396d
9 changed files with 528 additions and 86 deletions

View File

@@ -246,6 +246,7 @@ export const with_code_execution = (action, state = get_state()) => {
*/
if(state.eval_cxt != null) {
state.eval_cxt.is_recording_deferred_calls = false
state.eval_cxt.skip_save_ct_node_for_path = true
}
try {
@@ -253,6 +254,7 @@ export const with_code_execution = (action, state = get_state()) => {
} finally {
if(state.eval_cxt != null) {
state.eval_cxt.is_recording_deferred_calls = true
state.eval_cxt.skip_save_ct_node_for_path = false
}
}
}