behavior <- character
console.log()
^ 0
- .seek.wordEnd
console.log()
^^^^^^^ 0
- .seek.wordEnd
console.log()
^ 0
- .seek.wordEnd
console.log()
^^^ 0
- .seek.word.backward
console.log()
|^^ 0
- .seek.word.backward
console.log()
^ 0
- .seek.word.backward
console.log()
|^^^^^^ 0
- .seek.wordEnd.extend
console.log()
^^^^^^^ 0
- .seek.wordEnd.extend
console.log()
^^^^^^^^ 0
- .seek.wordEnd.extend
console.log()
^^^^^^^^^^^ 0
- .seek.wordEnd
console.log()
^^^ 0
behavior <- character
foo
bar
^ 0
- .seek.word.backward
foo
|^^ 0
bar
Now with spaces.
behavior <- character
aaa bbb ccc ddd
^ 0
- .seek.wordEnd
aaa bbb ccc ddd
^^^^ 0
- .seek.wordEnd
aaa bbb ccc ddd
^^^^ 0
- .seek.word.backward
aaa bbb ccc ddd
|^^ 0
- .seek.word.backward { count: 2 }
aaa bbb ccc ddd
|^^^ 0
aaa bbb
^ 0
ccc
dd
- .seek.word
aaa bbb
^^^ 0
ccc
dd
- .seek.wordEnd
aaa bbb
ccc
^^^^^ 0
dd
behavior <- character
foo x bar.baz ex
^ 0
la
- .seek.wordEnd
foo x bar.baz ex
^^^ 0
la
- .seek.wordEnd
foo x bar.baz ex
^^ 0
la
- .seek.wordEnd
foo x bar.baz ex
^^^^ 0
la
- .seek.wordEnd
foo x bar.baz ex
^ 0
la
behavior <- character
a b c d
^ 0
- .seek.wordEnd
a b c d
^^ 0
- .seek.word
a b c d
^ 0
- .seek.word.backward
a b c d
|^ 0
- .seek.wordEnd.extend
a b c d
^^^ 0
- .seek.word.extend
a b c d
^^ 0
- .seek.word.extend.backward
a b c d
|^^ 0