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

[REBOL] Re: Assorted bugs?

From: riusa:email:it at: 7-May-2002 9:27

Hi all, about text-list, I found this problem (I think it is a problem!): view layout [text-list "a" "b" "a"] If a user select the first "a" text-list even select the third "a". It should be a good thing to manage text-list with an index and not directly with the text (maybe creating a new component "text-list-index")? bye! --Alessandro--
> Hi Ashley, > > Work around for #2 is to use the AS-IS keyword. > i.e. change the text-list to : > > text-list data files as-is > > Cheers Phil > > === Original Message > > > Another marathon weekend with REBOL and a few more "things that don't work > the way I expect them to". Apologies in advance if some of these have > already been covered in depth (eScribe searches just don't cut it ;) ). > > Problems I hit were: > > 1. Scrolled area text affecting other field(s) > 2. text-list anomalies with first entry > 3. alt-down SLOW under windows (but OK under Linux) > 4. load treating a one line block as a block, but multi-lines as blocks > within a block, makes it hard to write something like: > > foreach block load %test.dat [print block/1] ; this handles 0 and > 1 > lines but not 1 line > > Anyway, the code to demo these "problems" is given below, any advice on > simple work-arounds / misconceptions greatly appreciated. If any need
to go
> to feedback let me know. (On a related matter, how can one tell what has > already been sent to feedback . . . is there a "reported bug" summary of > some sort?). > > <code> > > REBOL [] > > files: copy [] > > foreach file read %. [ > insert tail files reform ["o^-" file] > ] > > view center-face layout [ > text 200 {Click "Area" then type two lines of text in the area,
close and reopen the window.
> Notice how the field text has been repositioned.} > button 200 "Area" [ > view/new center-face layout [ > field 50 "Text" > area 50x30 > ] > ] > text 200 {Notice how the first tab is ignored.} > text-list data files > text 200 {Click rapidly with the left then right mouse buttons. > Notice how left clicks are faster than right clicks [on
Windoze].}
> box blue 200x50 "Click here" with [ > data: now/time/precise > feel: make feel [ > engage: func [face action event] [ > if action = 'alt-down [ > print reform ["Right" now/time/precise -
face/data] face/data: now/time/precise
> ] > if action = 'down [ > print reform ["Left" now/time/precise -
face/data] face/data: now/time/precise
> ] > ] > ] > ] > text 200 {The first result counts values within a block, the
second the number of blocks.}
> button 200 "Load block(s)" [ > write/lines %test.dat remold [now now] > print length? load %test.dat > write/append/lines %test.dat remold [now now] > print length? load %test.dat > ] > ] > > </code> > > Regards, > > Ashley > > -- > To unsubscribe from this list, please send an email to > [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes. > > -- > To unsubscribe from this list, please send an email to > [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes. >
++++++++++++++++++++++++++++++++++++++++++++ Alessandro Manotti Presidente dell'Associazione "RIUSA" Sito web: http://riusa.apritisesamo.net email: [riusa--email--it] mailing-list: [riusa-ml--yahoogroups--com] Telefono: 347.63.43.231 -- Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f Sponsor: Divertiti a sfrecciare nel traffico cittadino o sui marciapiedi, con il monopattino Crazy! Clicca qui: http://adv2.email.it/cgi-bin/foclick.cgi?mid=423&d=7-5