New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@codemirror/commands

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/commands - npm Package Versions

1235

0.19.3

Diff

Changelog

Source

0.19.3 (2021-09-09)

Bug fixes

Make by-line cursor motion commands move the cursor to the start/end of the document when they hit the first/last line.

Fix a bug where deleteCharForward/Backward behaved incorrectly when deleting directly before or after an atomic range.

marijn
published 0.19.2 •

Changelog

Source

0.19.2 (2021-08-24)

New features

New commands cursorSubwordForward, cursorSubwordBackward, selectSubwordForward, and selectSubwordBackward which implement motion by camel case subword.

marijn
published 0.19.1 •

Changelog

Source

0.19.1 (2021-08-11)

Bug fixes

Fix incorrect versions for @lezer dependencies.

marijn
published 0.19.0 •

Changelog

Source

0.19.0 (2021-08-11)

Breaking changes

Change default binding for backspace to deleteCharBackward, drop deleteCodePointBackward/Forward from the library.

defaultTabBinding was removed.

Bug fixes

Drop Alt-d, Alt-f, and Alt-b bindings from emacsStyleKeymap (and thus from the default macOS bindings).

deleteCharBackward and deleteCharForward now take atomic ranges into account.

New features

Attach more granular user event strings to transactions.

The module exports a new binding indentWithTab that binds tab and shift-tab to indentMore and indentLess.

marijn
published 0.18.3 •

Changelog

Source

0.18.3 (2021-06-11)

Bug fixes

moveLineDown will no longer incorrectly grow the selection.

Line-based commands will no longer include lines where a range selection ends right at the start of the line.

marijn
published 0.18.2 •

Changelog

Source

0.18.2 (2021-05-06)

Bug fixes

Use Ctrl-l, not Alt-l, to bind selectLine on macOS, to avoid conflicting with special-character-insertion bindings.

Make the macOS Command-ArrowLeft/Right commands behave more like their native versions.

marijn
published 0.18.1 •

Changelog

Source

0.18.1 (2021-04-08)

Bug fixes

Also bind Shift-Backspace and Shift-Delete in the default keymap (to do the same thing as the Shift-less binding).

New features

Adds a deleteToLineStart command.

Adds bindings for Cmd-Delete and Cmd-Backspace on macOS.

marijn
published 0.18.0 •

Changelog

Source

0.18.0 (2021-03-03)

Breaking changes

Update dependencies to 0.18.

marijn
published 0.17.5 •

Changelog

Source

0.17.5 (2021-02-25)

Bug fixes

Use Alt-l for the default selectLine binding, because Mod-l already has an important meaning in the browser.

Make deleteGroupBackward/deleteGroupForward delete groups of whitespace when bigger than a single space.

Don't change lines that have the end of a range selection directly at their start in indentLess, indentMore, and indentSelection.

marijn
published 0.17.4 •

Changelog

Source

0.17.4 (2021-02-18)

Bug fixes

Fix a bug where deleteToLineEnd would delete the rest of the document when at the end of a line.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc