Find and replace doesn't work in a comment box
The Next and Prev buttons don't seem to work correctly and after you replace something, the find ovals don't end up in the right place.
But this in a comment box and try replacing posn-fun.
;; posn-fun -> ?
;; consumes:
;; produces:
(define (posn-fun a-posn)
(posn-x a-posn)
(posn-y a-posn))
(check-expect (posn-fun ...) ...)
(check-expect (posn-fun ...) ...)
(check-expect (posn-fun ...) ...)
This issue has been mentioned on Racket Discourse. There might be relevant details there:
https://racket.discourse.group/t/a-few-annoying-bugs/3582/1
I'm seeing a weird lag when I try to do follow your instructions, but I'm not seeing any other bad behavior. Do you think you could record a video? Maybe then I'd be able to get it. Or maybe just a fuller explanation would also work.
Trying to find-and-replace pattern with xyz in this code blows the contents of the comment box away:
The file is created by inserting a comment box at line 5,
#lang htdp/bsl
;; this is a pattern
and then put the following text into the comment box,
this is some pattern
that is another pattern
there are many patterns
(Unfortunately I can't upload Racket source code here.)
Thanks! I'm able to reproduce it with those instructions @shhyou