0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 15:23:29 -05:00
Squire/source/keyboard
Neil Jenkins cbde45311a Fix crash linkifying text in middle of node
We were looking at the selection properties after we had mutated the DOM, and
trying to manipulate them based on some numbers cached from before mutating
the DOM, which could result in trying to set a negative index for the selection
offset. Instead, calculate all our values before we do any mutations.

Fixes #430
2023-04-20 10:57:05 +10:00
..
Backspace.ts Fix backspace can delete two characters 2023-02-22 11:27:16 +11:00
Delete.ts Squire 2.0 2023-01-23 13:18:29 +11:00
Enter.ts Squire 2.0 2023-01-23 13:18:29 +11:00
KeyHandlers.ts Let ArrowRight key always break out of <code> 2023-02-22 16:01:23 +11:00
KeyHelpers.ts Fix crash linkifying text in middle of node 2023-04-20 10:57:05 +10:00
Space.ts Squire 2.0 2023-01-23 13:18:29 +11:00
Tab.ts Squire 2.0 2023-01-23 13:18:29 +11:00