[ENH] BlinkingCaretMorph

Andreas Raab Andreas.Raab at gmx.de
Wed May 15 00:16:07 UTC 2002


Stephan,

Actually this should be really trivial (although after having tried it I
don't know if I like it...) Go to TextMorph>>keyStroke: and add as the
first line:

	Cursor blank show.

And you should have your effect. Note that this may not work on Macs -
the Mac VM used to generate mouse events even if the mouse hasn't done
anything. If that's still the case it won't work - but it does work fine
on Windows (and probably on Unix too).

Cheers,
  - Andreas

> -----Original Message-----
> From: squeak-dev-admin at lists.squeakfoundation.org 
> [mailto:squeak-dev-admin at lists.squeakfoundation.org] On 
> Behalf Of Stephan B. Wessels
> Sent: Wednesday, May 15, 2002 2:01 AM
> To: Squeak mailing list
> Subject: Re: [ENH] BlinkingCaretMorph
> 
> 
> There's an interesting feature that Apple has been doing 
> since the early
> Macintosh that I really notice missing when I work on Windows boxes.
> 
> As soon as you start typing in a text widget/pane, the cursor 
> hides.  The
> insertion point is active of course, but I really got use to the arrow
> getting out of the way while typing.  If you nudge the mouse 
> it appears
> again.  I really like that notion of getting it out of the 
> way visually if
> it's over the text pane I'm typing in.
> 
>  - Steve
> 
> On 5/14/02 3:09 PM, "Jim Benson" <jb at speed.net> wrote:
> 
> > This is my first hack at a blinking text insertion point 
> (Morphic only).
> > Tested on Squeak3.2Gamma-4857.
> > 
> > On a large display, it is very easy to lose the text 
> insertion point. This
> > changeset implements the standard blinking caret.
> > 
> > This is a basic implementation, it doesn't sit very well 
> with Squeak just
> > yet. When there are windows with several text panes, 
> several blinking carets
> > come to life. However, I've found it useful in my day to day work.
> > 
> > Jim
> > 
> > 
> > 
> 
> 




More information about the Squeak-dev mailing list