Re: [racket-users] Re: Typing lag with DrRacket on Linux

2020-05-11 Thread evdubs
I think what I have seen previously with setting the canvas style to 'transparent ultimately is turning off antialiasing in Cairo. Using the sample text editor from this thread, I ran the following: $ cairo-trace racket text-editor.rkt $ cairo-trace racket text-editor-transparent.rkt In the

[racket-users] Syntax-highlighting colors in slideshow/repl ?

2020-05-11 Thread Scott Moore
Hi all, Does anyone know of a way to set the colors for syntax highlighting in a slideshow/repl area? I tried using the `slideshow/code` / `pict/code` parameters but they don't effect slideshow/repl. I suspect I need to do whatever DrRacket does to the editor when you switch themes, but I

Re: [racket-users] Re: Racket Program doesn't save

2020-05-11 Thread Sorawee Porncharoenwase
Does tst.rkt get created? I use racket-7.7-x86_64-macosx and run macOS Catalina too, but could not reproduce the problem. On Mon, May 11, 2020 at 2:56 PM Sai Ganesh Buchireddy wrote: > After I save the file and try to close Dr. Racket, I get the msg saying > the file is not saved as shown in

[racket-users] Re: Racket Program doesn't save

2020-05-11 Thread Sai Ganesh Buchireddy
After I save the file and try to close Dr. Racket, I get the msg saying the file is not saved as shown in the 2nd image. On Tuesday, May 12, 2020 at 3:23:40 AM UTC+5:30, Sai Ganesh Buchireddy wrote: > > I'm trying to save a program in Dr. Racket but it doesn't seem to work for > some reason.

[racket-users] Question about positive vs negative blame

2020-05-11 Thread David Storrs
If I understand correctly, "positive blame" refers to servers and "negative blame" refers to clients. I think this means: (define/contract (add-10 x) (-> number? number?) "oops") (add-10 7); Call-A (add-10 "oops") ; Call-B `add-10` accepts a number and promises to return a number,