Posted 11 months ago by Ramodh Kumar k
Version: 17.2.0330
Avatar

Hi there, I need to use double tapped event in syntax editor. But, ViewSelectionchanged is firing all the time. ie, For double tap to trigger, totaly 3(1 for selection and 2 for double tap) taps are required. Meanwhile, 3 times ViewSelectionChanged is triggered and then double tap is fired. Please provide a dedicated doubletapped event where viewselectionchanged is not fired. Thanks, Ramodh

Comments (1)

Posted 11 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Whe you double-click an offset, it will raise a ViewSelectionChanged event for the first click since that is moving the caret.  Then it will raise the event for the second click since a double-click selects the word around the click location, meaning the selection changed again.

You shouldn't see the event raised three times unless you are moving the click location around each time you click, and you've clicked three times (or changed selection in your own handler).

Could you explain more about what specifically you are trying to achieve?  Thanks!


Actipro Software Support

The latest build of this product (v2019.1 build 0340) was released 7 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.