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

[REBOL] Re: clean-path

From: sterling:rebol at: 4-Dec-2000 20:12

Right. I see what you mean. Perhaps the more frequent use of clean-path on a URL is this. We'll talk about it the next time we meet about /Core fixes/enhancements/etc. The only issue may be that we would be breaking code that relied on the current behavior... how much of that there is I can't say. The slider does not update on the text list unless you tell it to. I use the following function in my code to update text-list sliders every time I mod the list. The function refers to list/lc. lc is a word in a text-list face that is the number of visible lines of the list. ; updates the bar on the side of a text-list or group of text-lists fix-slider: func [faces [object! block!]] [ foreach list to-block faces [ either 0 = length? list/data [list/sld/redrag 1] [ list/sld/redrag list/lc / length? list/data] ] ] This way I can make changes to one or more text-lists in a layout, fix the sliders, and then re-show the needed faces. Sterling