[racket] Asynchronously inserting text to editor%
On Tue, Aug 26, 2014 at 6:46 AM, Dmitry Cherkassov
<dcherkassov at gmail.com> wrote:
> Thanks for your reply. I've found that `disable`-ing canvas of text editor
> when inserting works too. But with downside that you cant select anything or
> move the cursor when bulk of text strings are inserted.
Well, that's why I said that you're much better off just doing the
callback -- even if you disable things, you're likely to get the same
problem later on. OTOH, doing a callback is easy, and can be done from
a different thread with no issues, since the actual addition happens
when the GUI is prepared to do so.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!