
@marsmxm has joined the channel

If I do (send (new racket:text%) find-up-sexp 0)
, where the heck is the definition of that find-up-sexp
method? I seem to be lost in a sea of repos, packages, interfaces, classes, and mixins. :sadpanda: For example https://github.com/search?q=org%3Aracket+find-up-sexp&type=code shows some uses but AFAICT not the definition.

It’s in “gui-lib/framework/private/racket.rkt”. It looks like search found that file, but didn’t show the definition.

git grep
is a good friend if you have the repos locally

Thank you! I do most of the repos local and did a ripgrep but I must have fubared that.

@mflatt Why I ask is I discovered the scribble/at-exp indenter wants two more methods on the color-text-like object (like the one in expeditor): get-character
and find-up-exp
. The former is trivial. The latter I’m not sure from the doc alone I wanted to see a reference implementation.

Hmm it looks like find-up-sexp
makes use of quite a few other methods defined there, as well as inherited.

@vanessaco has joined the channel

@srinivasans77 has joined the channel