diff options
author | Skyler Hawthorne | 2021-12-13 15:58:58 +0000 |
---|---|---|
committer | GitHub | 2021-12-13 15:58:58 +0000 |
commit | 94535fa013469abf6e5ab2fa52f3deced9d46de0 (patch) | |
tree | d72a251abe1dfae3ff50136b5b8413c835a2b629 /runtime/themes | |
parent | 730d3be2010adbd2c43b7cdf1a256a15ef97e3f2 (diff) |
Add auto pairs for same-char pairs (#1219)
* Add auto pairs for same-char pairs
* Add unit tests for all existing functionality
* Add auto pairs for same-char pairs (quotes, etc). Account for
apostrophe in prose by requiring both sides of the cursor to be
non-pair chars or whitespace. This also incidentally will work for
avoiding a double single quote in lifetime annotations, at least until
<> is added
* Slight factor of moving the cursor transform of the selection to
inside the hooks. This will enable doing auto pairing with selections,
and fixing the bug where auto pairs destroy the selection.
Fixes #1014
Diffstat (limited to 'runtime/themes')
0 files changed, 0 insertions, 0 deletions