After more playing around, I got to this — which scrolls down a bit but not
enough. Now it's down to actually understanding `(send an-editor-canvas
scroll-to ...)` docs — in particular, what are editor coordinates. I'm fearing
it's in pixels.
#lang racket/base
(require racket/class)
;; string?
So, a skeleton calling insert, relying on `script-plugin`, is the following. It
doesn't work yet, but it took like 1 minute, so it's a cool starting point.
With script-plugin, you can just edit it and rerun it without restarting Racket:
```
#lang racket/base
(require racket/class)
; Sample iden
I'm using the script plugin [*] to test things quickly. You get direct
access to the current editor, either the interactions or the definitions
one. Possibly it would be even more helpful to have an interaction window
with access to the same things for quick hacks. That could be either a
standalon
On 6 October 2015 at 01:45, Aman wrote:
>
> Thanks Laurent and Paolo. When you say (send a-text insert string), how are
> you getting a-text ?
> What I wanted was not to design a new editor window, but to modify or 'send'
> some command to current editor (the default one when we launch DrRacke
Thanks Laurent and Paolo. When you say (send a-text insert string), how are
you getting a-text ?
What I wanted was not to design a new editor window, but to modify or 'send'
some command to current editor (the default one when we launch DrRacket) to
clear some content or scroll down to hide th
On Monday, October 5, 2015 at 10:56:50 AM UTC+2, Laurent Orseau wrote:
> I don't think there is anything like this right now, but in case anyone wants
> to do that, my first impression is, that such a command should not
> completely erase the previous content but only hide it (by scrolling down
I don't think there is anything like this right now, but in case anyone
wants to do that, my first impression is, that such a command should not
completely erase the previous content but only hide it (by scrolling down
for example). I tried very quickly to do that using `set-position` of
`text%` b
Hi all,
I am new to DrRacket. I am using swindle language and want to know a way so
that I can clear my evaluation window(interaction window) after I do some
direct runs there.
For example if i run following
> (define a 3)
> (define b 2)
Now i want something like
> clear
which could clear the
8 matches
Mail list logo