Bug 3472 - Mouse motion events make the SourceWindow get real busy
Summary: Mouse motion events make the SourceWindow get real busy
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Mike Cvet
Depends on:
Blocks: 1633
  Show dependency treegraph
Reported: 2006-11-07 14:09 UTC by Mike Cvet
Modified: 2006-11-07 15:34 UTC (History)
1 user (show)

See Also:
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
Description Mike Cvet 2006-11-07 14:09:42 UTC
By moving the mouse around the SourceWindow text box, the SourceWindow gets 
really busy checking for variables, parsing the text, and generating new 
objects each time a new MouseMotionEvent occurs - and that occurs every time 
the mouse moves a single pixel on the screen.

Need to find a way to calm this down.
Comment 1 Mike Cvet 2006-11-07 15:34:44 UTC
Log message:
        2006-11-07  Mike Cvet  <mcvet@redhat.com>
        * SourceWindow.java (finishSourceWin): Set the window title properly.
        * SourceView.java (mousedOverText): Make sure that the mouse is over a
        new tag in the source code before going off parsing trying to see if it
        is a variable. Fixes #3472.
        * SourceBuffer.java (getVariable): Added.