title: Detect when "cursor position inside input change" in jQuery?
body: <p>I'm using a plugin called <a href="https://github.com/dwieeb/jquery-textrange" rel="noreferrer">jQuery TextRange</a> to get the position of cursor inside a input (in my case, a textarea) and set the position too. </p>
  
  <p>But now I have one thing that - I think - is harder to solve. I want know if in jQuery exist one event like "cursor position changed". <strong>What I mean is something like:</strong></p>
  
  <pre><code>$('#my-input').on('cursorchanged', function(e){
      // My code goes here.
  )};
  </code></pre>
  
  <p>I want to know when the cursor is moved inside the input/textarea, doesn't matter if by arrow keys or mouse click. I'm a jQuery newbie, but I think doesn't exist a event like this on jQuery, or exists?</p>