eclipse / nebula

Nebula Project
https://eclipse.org/nebula
Eclipse Public License 2.0
85 stars 98 forks source link

RichTextEditor does not support MouseListener #609

Closed huthomas closed 2 months ago

huthomas commented 2 months ago

After adding a MouseListener to the RichTextEditor the methods are never called.

There is no javascript function registered that would pass such events to java mouseDown and mouseDoubleClick methods.

Is there a reason why that is not implemented? Or are there plans to implement this functionality?

fipro78 commented 2 months ago

I guess there was never a requirement for adding it. At least I can't remember. And I am not sure if we could pass the correct information from the browser to the swt layer.

If you have an idea how to implement it, feel free to create a PR. There are no plans for any improvement of this control at the moment.

huthomas commented 2 months ago

Thanks for the info.