I found a few nice answers for finding the caret position in a textarea but I have yet to find one that can detect the caret position after the shift key is held and arrow keys are used. When the shift key is held the cursor could go back or forward during a selection and so using the selectionStart and selectionEnd concept does not seem to be reliable for cursor position in that case.
Anyone have a good solution?
Thanks!