SegundoBob
unread,Feb 28, 2022, 4:14:44 PM2/28/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to leo-editor
Thank you, tbp1 for responding. Unfortunately, if I understand you, you totally misunderstood me. If you understood me, I totally misunderstood you. Perhaps we each misunderstood the other.
I've resolved my problem which was not what I thought it was. Two things were happening:
1) Bit rot in my code caused by no longer allowing cmder.setChanged() to have one argument. Consequently, some of my code that had been working for years was no longer able to set the selected position as observed by the operator after my code executed. This was because I was calling cmdr.setPosition() right after calling cmdr.setChanged(). Since now cmdr.setChanged() was causing an exception (which was never shown to the operator, so I didn't know there was an error), the cmdr.setPosition() was no longer called.
2) In another case, I was intentionally raising an exception after calling cmdr.setPosition(). While it is surprising to me that raising an exception in some sense "undoes" the cmdr.setPosition(), I have no objections to this.
Thanks. So far as I'm concerned this thread is finished.
SegundoBob