autopair.js
Dennis Hackethal addressed criticism #3975.
#3975·Dennis HackethalOP, about 14 hours agoShould not autopair behind a word character.
Steps to reproduce:
- Type 'foo'.
- With the cursor behind the second 'o', hit single quote:
'.- The text now reads
foo''but should only readfoo'.After a non-word character (eg linebreak, period, colon, semicolon etc) though, it should still autopair.
Fixed as of bbcefa8.
Dennis Hackethal submitted criticism #3975.
Should not autopair behind a word character.
Steps to reproduce:
- Type 'foo'.
- With the cursor behind the second 'o', hit single quote:
'. - The text now reads
foo''but should only readfoo'.
After a non-word character (eg linebreak, period, colon, semicolon etc) though, it should still autopair.
Dennis Hackethal submitted criticism #3974.
Undo/redo stack should preserve cursor position.
Steps to reproduce:
- Start with empty textarea.
- Type '('.
- Cursor is now inside '(|)'.
- Hit undo.
- Hit redo.
- Cursor is now behind '()|' but should be inside like in step 3.
Dennis Hackethal started a discussion titled ‘autopair.js’.
Issue tracker for the autopairing + typethrough package at https://github.com/dchacke/autopair.js