Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Cursor

From: agem:crosswinds at: 2-Jul-2001 5:27

RE: [REBOL] Re: Cursor Hi Jim. cool Eddi :) [hijim--pronet--net] wrote:
> Hi Volker, > > Thanks for the cursor information. I've used it to insert the html tags with buttons. I wonder > if there's also a way to change the value of the caret so that when I insert 3 characters, I can > also move the cursor ahead 3 characters. You can view the caret, but can you move it too? >
yes. system/view/caret: skip system/view/caret 3
> I get error messages if I try to use one of the green buttons when the text area is empty. I'll > keep experimenting to see if I can get around that. Obviously, you can't insert anything if > there's no text there to begin with! Maybe I need to check that text exists first. Any help here > on how to make the button action conditional is welcome. >
but "<P>" #"" [ if text-file <> system/view/focal-face [return] ; <<<< insert system/view/caret "<P>" show text-file] should work. check is too nice if you have multiple text-fields.. ;-)
> Thanks again, > > Jim
;-) Volker