Is there a consistent algorithm of what should happen when a user presses Ctrl + Left-Arrow or Ctrl + Right-Arrow in a text editor or text editor? I have noticed behavior in the Chrome text box, and Windows Notepad, for example, is not the same; the "go to last / next bit" pattern is similar, but not the same.
I am looking for this information to emulate behavior in my own Chrome / JavaScript-based text editor, as I am not comfortable with how Chrome sometimes does this.
source
share