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

[REBOL] Re: [View] dirty?

From: ingo:2b1 at: 18-Oct-2003 11:35

Thanks to all who answered, Volker Nitsch wrote:
> my most robust approach is: > keep a copy of the last content and compare. > rebol has a "culture" of changing variables directly > (face/text: "Hello") > and then calling a general process-function > (like show face -> face/feel/redraw) > with "keeping old version" you can change > face/text with no need for some [face/dirty: true] > -Volker
The "problem" in my case is, that I don't have a special edit mode, I display the information, and it can at the same time be altered by the user. Furthermore, it is a dynamically created layout with no _single_ point of exit. It had been so nice, if the dirty flag would have been accurate, and promoted through the hierarchy - a face get dirty, whenever one of its subfaces gets dirty, if a parent face gets the dirty bit cleared, all subfaces get it cleared, too. Kind regards, Ingo