mbien commented on PR #7009:
URL: https://github.com/apache/netbeans/pull/7009#issuecomment-1913893368

   > Are the line numbers and text editor in two separate JScrollPane parents 
that are normally synced together somehow?
   
   right, otherwise the line numbers would scroll horizontally with the editor. 
They have their own scroll pane which scrolls only vertically and is linked to 
the editor they belong to. Then the two editors are linked in the diff view to 
one scroll bar, but mouse wheel allows to scroll them individually.
   
   > If there's a JDK bug, what is the expected vs. actual behavior of the 
JScrollPane?
   
   for once the behavior should not change just by adding an empty mouse wheel 
listener. Which is why I thought about calling consume() after redispatch.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to