Your idea is fine but which connect to cursorPositionChanged then? I mean - how should a user change the cursor at all then?