From: Cliff W. <log...@ea...> - 2002-01-02 19:54:24
|
On Wed, 2 Jan 2002 11:17:15 -0800 "Kevin Altis" <al...@se...> wrote: > I updated the Message Watcher in cvs so that when the list starts to get > full it deletes the oldest messages in the list. > > The history list doesn't use the wxTE_RICH style, so the current change > (line 117 of debug.py) may have a 1-off error under Linux due to differences > in line ending handling between Windows and Linux. There are some additional > problems with using wxTE_RICH, so if someone can check whether the code > mangles the first line of the history list under Linux I would appreciate > it. > > The simplest way to get a lot of content in the Message Watcher is to open > up a sample and uncheck hide unused messages and then just move the mouse > around inside a widget generating a lot of mouseMove messages. > It seems to work okay, up until the point that it tries to delete the old messages, then the message window scrolls wildly up and down for a while (it seems that maybe deleting the first message causes a scroll to the top of the list, then it scrolls back to the end, then back to the top, etc...). Is there a way to lock the list until the deletes are done? It doesn't seem to mangle the first message though =) -- Cliff Wells Software Engineer Logiplex Corporation (www.logiplex.net) (503) 978-6726 x308 (800) 735-0555 x308 |