I would like to create an editor where I can use capslock
or some other key to input special commands
somewhat similar to M-x in emacs.
with capslock (since I never use capslock anyway):
every time I write someting in the editor, a function should
run that will do something with the input.
If
IIRC, capslock can’t be handled by applications. When people customize
capslock to do something else, what they actually do is to ask their OS to
redirect the capslock keypress to other keys (say, F2), and then intercept
these other keys instead.
To catch keypresses like F2, create your own class
it helps a lot. Thx, have a nice day -:)
在2020年12月6日星期日 UTC+8 下午3:47:31 写道:
> On Sat, 5 Dec 2020 19:26:30 -0800 (PST), Yi Chen
> wrote:
>
> > #lang slideshow
> > (define cat )
> > (image-width (cat))
>
> There is no function "image-width" in slideshow.
>
> see:
Although key events from `racket/gui` cannot report the press of Caps
Lock as an independent event, each key event reports whether Caps Lock
is currently on, which I think is relevant here.
For example, using
(define mainTextArea (new (class text%
(define/override
I've been using Scribble for course notes with math. In particular using:
- https://docs.racket-lang.org/scribble-math/index.html
I haven't tried embedding videos, but it's not difficult to embed HTML directly.
-
Hi All —
I have a set of course notes for a Calc I class that I routinely teach
which includes links to Desmos graphs and pre-recorded videos on selected
topics. Recently, I began to think about producing a version of the notes
that embed the graphs and lectures directly into the document and
Thank you William! That's super helpful. I'll check out the links and
follow up with questions as they arise.
Cheers,
Dave
On Sunday, December 6, 2020 at 2:23:25 PM UTC-8 William J. Bowman wrote:
> I've been using Scribble for course notes with math. In particular using:
> -
7 matches
Mail list logo