Bug 3472

Summary: Mouse motion events make the SourceWindow get real busy
Product: frysk Reporter: Mike Cvet <mcvet>
Component: generalAssignee: Mike Cvet <mcvet>
Status: RESOLVED FIXED    
Severity: normal CC: scox
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1633    

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.