[racket-users] Re: Application Templates!

2020-08-19 Thread Alex Harsanyi
I am not sure that a template in the style of "dotnet new" is directly applicable for Racket -- the .Net framework is, well a framework. which is a library that expects the users to structure their own programs in certain ways. The templates fill the need of setting up the boilerplate code for

[racket-users] Re: GUI zoom and normal-control-font

2020-08-19 Thread Alex Harsanyi
At least on Windows, users can select the text size in the Windows System Settings,and Racket GUI applications will use that setting. So I can make the text of the GUI controls bigger or smaller by adjusting this setting. The Racket GUI have to be restarted though for the settings to take eff

Re: [racket-users] GUI zoom and normal-control-font

2020-08-19 Thread George Neuner
On 8/19/2020 1:37 PM, James Platt wrote: > > On 8/18/2020 12:31 PM, James Platt wrote: >> I'm looking at implementing a zoom contents (not zoom window) feature in a GUI with lots of elements and I'm wondering about the best way to do this. Most, if not all, standard GUI widgets in Racket can

[racket-users] Re: Application Templates!

2020-08-19 Thread Stephen De Gabrielle
I’ve started a small collection! https://github.com/racket-templates These are GitHub templates so you use them by clicking ‘use this template‘ on the repo I’m looking for more ideas/contributions; >From the top of my head; - ‘worker service’ (dotnet new has this) - DrRacket plugin - Keybinding

[racket-users] Debugging a tool

2020-08-19 Thread Daniel Melcer
Is it possible to run the debugger on an IDE tool? Or if that isn't possible, is there a way to get a repl? #lang debug ( https://docs.racket-lang.org/debug/index.html) works for printing out values to the console, but adding a call to (debug-repl) causes the code to fail raco setup: write: ca

Re: [racket-users] GUI zoom and normal-control-font

2020-08-19 Thread James Platt
> > On 8/18/2020 12:31 PM, James Platt wrote: >> I'm looking at implementing a zoom contents (not zoom window) feature in a >> GUI with lots of elements and I'm wondering about the best way to do this. >> Most, if not all, standard GUI widgets in Racket can be resized by changing >> the font s

Re: [racket-users] Unfortunate error message for wrong number of arguments to a format string in printf

2020-08-19 Thread Matthew Flatt
Thanks for the report! This has been fixed for the next release. Matthew At Wed, 19 Aug 2020 12:16:24 -0400, William Byrd wrote: > To wit: > > Chez Scheme Version 9.5.3 > Copyright 1984-2019 Cisco Systems, Inc. > > > (printf "~s") > > > Exception in printf: too few arguments for control strin

[racket-users] Unfortunate error message for wrong number of arguments to a format string in printf

2020-08-19 Thread William Byrd
To wit: Chez Scheme Version 9.5.3 Copyright 1984-2019 Cisco Systems, Inc. > (printf "~s") Exception in printf: too few arguments for control string "~s" Type (debug) to enter the debugger. > Process scheme finished Welcome to Racket v7.8 [cs]. > (printf "~s") ; /: division by zero [,bt for