diff --git a/collects/drscheme/private/debug.ss b/collects/drscheme/private/debug.ss index cf679de815..e81b2941d2 100644 --- a/collects/drscheme/private/debug.ss +++ b/collects/drscheme/private/debug.ss @@ -664,9 +664,9 @@ profile todo: (when frame (send frame show #t)) (when (and rep editor) - (cond - [(is-a? editor text:basic<%>) - (send rep highlight-error editor position (+ position span))])))) + (when (is-a? editor text:basic<%>) + (send rep highlight-error editor position (+ position span)) + (send editor set-caret-owner #f 'global)))))