Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Temporatily suspend default mouse events in the text editor's View.ViewElement?

$
0
0

I had to hook the mouse down/move events on the View.VisualElement to adjust some adornment settings. Without suspending the default editor behaviour and whilst in this 'adornment adjustment' state behaviours for example text selection will still be active.

What would be the correct way to temporarily suspend the default text editor functionality so mouse downs/moves can be used freely without affecting the current editor state?

FYI - I'm currently hacking this by using arg.Handled = true.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>