Re: Text Widget Confession [message #26728 is a reply to message #26626] |
Tue, 25 September 2001 09:22   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Pavel A. Romashkin (pavel.romashkin@noaa.gov) writes:
> Ok. Version 2.01-1723-b01.67, beta release. Bugs fixed: one letter
> selections and wierd combinations of such will not confuse the program.
> Changes: One line change, but was very hard, because you gotta know
> which line to change.
> Disclaimer: if works as promised or does not, the author bears no
> responsibility. Use with caution, may cause amazement and dizziness due
> to unbelievable reliability. Do not acknowledge the author for the fear
> of overwhelming response and eternal admiration.
Oh, I don't think so. :-(
In fact, this may be worse.
Grab the recorder, which has this algorithm implemented:
ftp://ftp.dfanning.com/pub/dfanning/outgoing/misc/recorder__ define.pro
Then, try this:
IDL> o=obj_new('recorder', text=['dog','cow','coyote','dog','rooster'])
IDL> o->gui
Now select the second "dog". Click delete. The first dog disappears.
Now select from the last "e" in coyote to the first "r" in
rooster. Click delete. *Everything* disappears!
Don't forget to destroy that object!
IDL> Obj_Destroy, o
But keep working. I haven't spent that *entire* $100 on
beer... yet. :-)
Cheers,
David
P.S. Let's just say if anyone solves this one, I have
another little puzzler involving contour plots that is
also causing me to pull my hair out. :-(
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|