Yes, emUseMouseActions is in SynEdit.MouseOptions. I mixed up the fields.
Yes, if you set this, then all mouse behaviour goes via actions.
BUT you do not have to create all of them by hand.
- First set emUseMouseActions
- Then right click the SynEdit on the designer. There is an entry "Reset Mouse Actions". This will create all mouse actions, according to the current config (as it would be if emUseMouseActions was not set)
"Reset Mouse Actions" only works if emUseMouseActions is set. SO the above order is important.
--------------------
You still need to publish MouseTextActions or you can not edit it. (It will be published in 1.2.2)
The middle mouse action is in MouseTextActions. It can be removed, once you did the above steps. Once removed you have exactly what you want.
-------------------------
Note: This is a collection, and the collection property editor has a bug. It does not always update.
After "Reset Mouse Actions" select the form in the designer, then back to the synedit.
Then open ('...') the MouseSelActions, ignore what the property editor shows, close it.
And now you can go for the MouseTextActions (open with '...')
-------------------------
I know, that even ignoring the bugs above, it seems complicated to have to do this using mouse actions.
But in the past, I encountered lots and lots of different requests, how people wanted SynEdit to deal with various Mouse input.
Adding more and more Options, would not have been practical. So there needed to be something more flexible.