[plt-scheme] can't get caret-hiding working with selection

From: Martin DeMello (martindemello at gmail.com)
Date: Tue Apr 29 01:44:21 EDT 2008

On Mon, Apr 28, 2008 at 4:12 AM, Robby Findler <robby at cs.uchicago.edu> wrote:
> I think you want text:hide-caret/selection% from the framework.

Thanks, that's exactly what I needed! Is there a complete editor class
hierarchy chart somewhere? I did try searching through the docs for
specialised editors and editor mixins, but came up blank, and figured
that text% and pasteboard% were all I got out of the box.

>  You might want to use the lock method, rather than overriding the
>  can-insert? and can-delete? methods.

So I do - I missed that one in the docs.

>  The caret-hidden? definition is creating a private field that is bound
>  to a procedure (it isn't a method and it isn't overriding anything).
>  Did you intend that?

No, that was left over from some code I was playing with - should've
been deleted.

martin


Posted on the users mailing list.