[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Watching a variable (array) for change
[Thread Prev] | [Thread Next]
- Subject: Re: Watching a variable (array) for change
- From: BB <adamnt42@xxxxxxxxx>
- Date: Thu, 29 Oct 2026 17:12:50 +1030
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 26/10/26 7:21 am, Bruce Steers wrote:
This is not easy. I have been digging down into it and trying to find a way to raise a signal where an address is written to at the OS level. It is not an easy thing to do, in fact it may be impossible.Is is possible to watch a variable for changes?I'm trying to do something with TextEditor that reacts when a procedure Limit is Collapsed / Expanded I've managed to get something working when mouse clicks do it but there's other ways to collapse/expand limits too so looking for a simpler way.I can get a pointer to the TextEditor $aFold variable via the TextEditor._GetFolding() method but is there a way to monitor an Array and react to any changes?I've removed an adapted gb.form.editor source from my program and and trying to replace all my mods via auto-inheritance of the main component instead.I did have a TextEditor Fold event that triggered when a procedure was folded/expanded. I'm trying to emulate that. Having the Fold event added to master would be good but won't really help me with backward compatibility so i'm looking for a workaround.Respects BruceS
But it has been a bit of a poser to be sure. hmmm b
| Re: Watching a variable (array) for change | Brian G <brian@xxxxxxxxxxxxxxxx> |
| Re: Watching a variable (array) for change | Bruce Steers <bsteers4@xxxxxxxxx> |
| Watching a variable (array) for change | Bruce Steers <bsteers4@xxxxxxxxx> |