autopair.js

  Dennis Hackethal archived idea #3975 along with any revisions.
  Dennis Hackethal addressed criticism #3975.

Should not autopair behind a word character.

Steps to reproduce:

  1. Type 'foo'.
  2. With the cursor behind the second 'o', hit single quote: '.
  3. The text now reads foo'' but should only read foo'.

After a non-word character (eg linebreak, period, colon, semicolon etc) though, it should still autopair.

#3975·Dennis HackethalOP, about 14 hours ago

Fixed as of bbcefa8.

  Dennis Hackethal submitted criticism #3975.

Should not autopair behind a word character.

Steps to reproduce:

  1. Type 'foo'.
  2. With the cursor behind the second 'o', hit single quote: '.
  3. The text now reads foo'' but should only read foo'.

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:

  1. Start with empty textarea.
  2. Type '('.
  3. Cursor is now inside '(|)'.
  4. Hit undo.
  5. Hit redo.
  6. 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