How hard is it to add @-exp support to racket:text%?

37 views
Skip to first unread message

Christopher Lemmer Webber

unread,
Oct 15, 2020, 9:19:08 AM10/15/20
to racket...@googlegroups.com
This isn't super high priority... but Morgan and I are working on the
first mini virtual worlds demo for Spritely, and I've put the extremely
nice racket:text% to use for code editing:

https://dustycloud.org/gfx/goodies/fairy-forest-ui-mockup2.png

Since there's so much text, it would be even better if I could enable
at-exp support. It doesn't look like the defaults for the racket:text%
editor support it nicely though.

Just out of curiousity, has anyone already done the work of figuring out
how to add such functionality to make the scribble-style at-exp
highlighting/indentation/etc look nice with racket:text%? If not I can
just put this off and not provide that feature, but it would be nicer
with it I think.

- Chris

Robby Findler

unread,
Oct 15, 2020, 9:51:31 AM10/15/20
to Christopher Lemmer Webber, racket...@googlegroups.com
If the buffer contains #"lang scribble/base" at the start, then it should "just work", no?

Robby

--
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/875z7b4oi3.fsf%40dustycloud.org.

Christopher Lemmer Webber

unread,
Oct 16, 2020, 4:59:05 PM10/16/20
to Robby Findler, racket...@googlegroups.com
... ah I didn't realize that :)

Okay great! Thanks Robby! :)
Reply all
Reply to author
Forward
0 new messages