VID: area

Discussion in 'Rebol' started by MaxV, Oct 20, 2010.

  1. MaxV

    MaxV Member

    Hi everybody,
    I'd like to write a simple Rebol IDE. My idea is: buttons with all commands in a column to put the right command in the source, example:
    Code:
    view layout [
      button "write" [ 
         append source/text "write dest  value"
         show source
         ]
      source: area
      ]
    
    Unfortunately this way I can only put text at the end of source, is there a way to put text where is the cursor?
  2. Graham

    Graham Developer Staff Member

    Unfortunately once you lose focus out of the VID area, the cursor is lost. That's why RebGUI addresses this issue and is able to save the caret state on loss of focus.
  3. MaxV

    MaxV Member

    and what is the command to know cursor position on VID area when on focus?
  4. Graham

    Graham Developer Staff Member

    Maybe a VID expert will know ...

Share This Page