This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 350494 - [client] [textview] Expose a mouseDown event
Summary: [client] [textview] Expose a mouseDown event
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Editor (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 0.4 M1   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-27 15:41 EDT by Mark Macdonald CLA
Modified: 2011-12-01 17:00 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Macdonald CLA 2011-06-27 15:41:34 EDT
It would be helpful for TextView to expose a mouseDown event.

One use case is for content assist, where we want to cancel content-assist-mode when the user clicks on the editor.
Comment 1 Felipe Heidrich CLA 2011-11-10 10:11:46 EST
We added support for mouse down/up/move/out/over.
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=ad9b8b0f16fb416254b4145886b85ce258a825ef

just need to add the doc, but right now the event includes
x,y relative with the document (consistent with all other methods in the view)
event - the dom event that generate the event in the view
type - the type for the event