Skip to content

add delete-to-start/end-of-line #445

@bantic

Description

@bantic

On Mac, pressing meta+delete deletes from the cursor position to the start of the line. We would like to have this work properly in mobiledoc-kit as well.
Need to:

  • add positioning heuristics to detect the position in a section that matches the start or end of its visual line (see Position#atPoint for an example of where we currently do something similar)
  • listen for delete key with meta also pressed in EventManager
  • update Position#move to handle a "line" unit

see #403

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions