diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-05-22 11:03:43 -0400 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-06-27 02:20:16 +0200 |
commit | 016c55f4094d99cc4aaa2f8ac0f2c22adbf96a5b (patch) | |
tree | ba129b831fc14e1d6c82714268acecf8b015133e /editor/AsyncSpellCheckTestHelper.jsm | |
parent | 016313d559f71ba0d269e54b6c6e60dbe1e63280 (diff) | |
download | UXP-016c55f4094d99cc4aaa2f8ac0f2c22adbf96a5b.tar UXP-016c55f4094d99cc4aaa2f8ac0f2c22adbf96a5b.tar.gz UXP-016c55f4094d99cc4aaa2f8ac0f2c22adbf96a5b.tar.lz UXP-016c55f4094d99cc4aaa2f8ac0f2c22adbf96a5b.tar.xz UXP-016c55f4094d99cc4aaa2f8ac0f2c22adbf96a5b.zip |
Bug 1316302 - Part 2: WillDeleteSelection() should retry to handle it when selection is collapsed and JoinBlocks() doesn't handle nor cancel the action
When selection is collapsed and JoinBlocks() doesn't handle nor cancel the action, WillDeleteSelection() should move selection to the start/end of leftmost/rightmost editable leaf node and retry to handle the action again.
For avoiding infinite loop, it checks if selected node is changed actually before calling itself again.
Tag #1563
Diffstat (limited to 'editor/AsyncSpellCheckTestHelper.jsm')
0 files changed, 0 insertions, 0 deletions