Event Handling from on mouse on auto complete popup

622 views
Skip to first unread message

Kevin

unread,
Mar 21, 2014, 2:21:19 PM3/21/14
to ace-d...@googlegroups.com
Hi,

I am trying to attach a tooltip to auto complete popup. In order to do that I need to know which line the mouse is hovering on. it there way to that. ie with some thing like

editor.on("mousepopup", fucntion(e, t){
           // code
})

Thanks
kevin

Harutyun Amirjanyan

unread,
Mar 23, 2014, 12:33:19 PM3/23/14
to ace-d...@googlegroups.com
Hi

to detect when hovered row changes you can use
editor.completer.popup.on("changeHoverMarker", function() { })
https://github.com/ajaxorg/ace/blob/master/lib/ace/autocomplete/popup.js#L151

but there is no event for detecting when completer is created, i'll add one
Thanks

Kevin

unread,
Mar 24, 2014, 1:04:35 PM3/24/14
to ace-d...@googlegroups.com
thanks
Reply all
Reply to author
Forward
0 new messages