- From: yosin <notifications@github.com>
- Date: Wed, 27 Jul 2016 21:35:19 -0700
- To: w3c/editing <editing@noreply.github.com>
Received on Thursday, 28 July 2016 04:35:51 UTC
I agree all of them except for directional line deletion. AFAIK, there is no key binding for line deletion. So, it is hard to imagine what forward/backward deletion of line. Do you define line deletion as below? - `selection.modify('extend', direction, 'lineboundary')` - `document.execCommand('delete')` If so, forward delete remove characters between caret to end of line: Where | is caret, ^ is anchor. Forward line deletion: Before: `abc|def\n` After Extend: `abc^def|\n` After Delete: `abc\n` Backward line deletion: Before: `abc|def\n` After Extend: `|abc^def\n` After Delete: `|def\n` Note: Assume "lineboundary" exclude end-of-line marker, e.g. \n or BR --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/editing/issues/133#issuecomment-235798695
Received on Thursday, 28 July 2016 04:35:51 UTC