Currently we are changing the selection and regions with sth like v.Sel().Add(reg), for example we do this on mouse click in qml frontend. The problem is we aren't recieving OnSelectionModified event in this situation as modifing selection isn't done in backend package, but we need this event. I faced this issue while working on displaying line col in status bar which it needs an event for updating the line column numbers.
A solution could be creating an add region function in backend and firing OnSelectionModified event after adding, but then we should disable changing the regions from the Sel() function.
Any other ideas?
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/53003123-no-onstatuschanged-event-when-the-selection-is-changed?utm_campaign=plugin&utm_content=tracker%2F15716642&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15716642&utm_medium=issues&utm_source=github).
Currently we are changing the selection and regions with sth like
v.Sel().Add(reg)
, for example we do this on mouse click in qml frontend. The problem is we aren't recieving OnSelectionModified event in this situation as modifing selection isn't done in backend package, but we need this event. I faced this issue while working on displaying line col in status bar which it needs an event for updating the line column numbers. A solution could be creating an add region function in backend and firing OnSelectionModified event after adding, but then we should disable changing the regions from theSel()
function.Any other ideas?