
I use DrRacket on a 4K monitor and haven’t seen the problem (yet).

@jagen315 At some point there were a problem on Linux only with hipdi screen, where a non-integer scaling was used. evdubs wrote:

So, close DrRacket. Set PLT_DISPLAY_BACKING_SCALE=1 in the terminal, then start DrRacket from the same terminal.

If you see an improvement report back.

I can’t remember whether this has been fixed in later versions of DrRacket - so just in case try version 8.2.

Not sure where to put this (a github issue?), but it’d be nice if generator
was - by default in the preferences - indented lambda-like. :wink:

That would be a DrRacket issue

(in terms of where to file)

@massung Does adding generator
to Prefrences>Editing>Indenting>Lambda-like Keywords in DrRacket work?

it works fine.. hence the “by default” :slightly_smiling_face:

Ahh the trick is finding where the drracket preferences are in the drracket repo?

@massung I think if you do a PR to insert reactor
here that will work https://github.com/racket/gui/blob/10a522288488e1d0e042ee63ae9bdf143386764a/gui-lib/framework/private/main.rkt#L421

ok, ty

@robby when I want to change the name of a #lang
in DrRacket, I always use S-exp navigation (alt-shift-left) so that I can delete the original lang. But the selection includes “#lang” too. Is there a reason why it’s designed like that?
I could use ctrl-shift-left instead, but this will select by word, meaning for #lang scribble/manual
, it will only select “manual”

Uhhh… I think it is because of how the module-language tokenizer tokenizes the #lang at the front.

(for sexp motion)

@sorawee ^

See syntax-color/module-lexer
(the library)

Do you see any improvement possibility?

If you wanted to change other key strokes (like word movement) that’s just in the framework or possibly in racket/gui depending on the keystroke.

Many things can be improved! I don’t see why this wouldn’t be one :stuck_out_tongue_winking_eye:

I guess that, in this case, the lexer shoudl return two tokens and it is currently returning one?

I’m not sure — that’s just a guess.

The code that takes the lexing information and figures out the keybindings is in the framework

framework/private/racket

Yeah, this is also related to the issue that @greg has earlier about make-meta-reader

Let me know if that’s not enough vague hints. I have many vague hints lying around here at home ….

@niko has joined the channel