- From: Chong Zhang <notifications@github.com>
- Date: Thu, 28 Jul 2016 12:24:41 -0700
- To: w3c/editing <editing@noreply.github.com>
- Message-ID: <w3c/editing/issues/133/235998694@github.com>
> AFAIK, there is no key binding for line deletion. So, it is hard to imagine what forward/backward deletion of line. On macOS (Firefox, Chrome, Safari and native apps): 1. `command+delete` is `DeleteLineBackward` - On Chrome it maps to [`- deleteToBeginningOfLine:`](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSResponder_Class/#//apple_ref/occ/instm/NSResponder/deleteToBeginningOfLine:) 2. `control+k` is Emacs-style `Kill` - On Chrome it maps to [`- deleteToEndOfParagraph:`](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSResponder_Class/#//apple_ref/occ/instm/NSResponder/deleteToEndOfParagraph:) but actually acts like `DeleteLineForward` (e.g. It will stop on `<br>` instead of `</p>`, if I used it correctly) I'm not sure about the implementation details on Firefox or Safari, but the behaviors are the same. Also see discussion https://github.com/w3c/editing/issues/125#issuecomment-213054474 (note: `command+fn+delete` won't do `DeleteLineForward` for me) --- 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-235998694
Received on Thursday, 28 July 2016 19:25:09 UTC