Hi Sturm, On 2014-11-05 00:01:14 -0500, Sturm Mabie wrote: > I was wondering if there was an easy way to add a full-featured repl > (like in DrRacket) to an application. Is there widget or something > that I can just use to get full functionality or do I have to > implement keybindings and such myself?
I don't think you can reproduce the REPL in DrRacket exactly very easily because I think it relies on some internal classes (and mixins) that are defined in DrRacket itself. But if you want to set up a text editing with similar features, you can use the classes/mixins provided by the GUI framework library. DrRacket itself uses a bunch of these mixins to build its text editor: https://github.com/plt/racket/blob/master/pkgs/drracket-pkgs/drracket/drracket/private/rep.rkt#L2205 The classes/mixins are documented here: http://docs.racket-lang.org/framework/Text.html Cheers, Asumu ____________________ Racket Users list: http://lists.racket-lang.org/users