Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@codemirror/commands

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/commands - npm Package Versions

2345

6.7.1

Diff

Changelog

Source

6.7.1 (2024-10-21)

Bug fixes

Change toggleBlockCommentByLine to not affect lines with the selection end right at their start.

marijn
published 6.7.0 •

Changelog

Source

6.7.0 (2024-10-07)

Bug fixes

Bind Shift-Enter to the same command as Enter in the default keymap, so that it doesn't do nothing when on an EditContext-supporting browser.

New features

Add commands for by-string-index cursor motion that ignores text direction.

marijn
published 6.6.2 •

Changelog

Source

6.6.2 (2024-09-17)

Bug fixes

Fix an issue causing selectParentSyntax to not select syntax that is a direct child of the top node.

Make selectParentSyntax return false when it doesn't change the selection.

marijn
published 6.6.1 •

Changelog

Source

6.6.1 (2024-08-31)

Bug fixes

Fix a bug in the undo history that would cause it to incorrectly track inverted effects when adding multiple edits to a single history event.

marijn
published 6.6.0 •

Changelog

Source

6.6.0 (2024-06-04)

New features

The new toggleTabFocusMode and temporarilySetTabFocusMode commands provide control over the view's tab-focus mode.

The default keymap now binds Ctrl-m (Shift-Alt-m on macOS) to toggleTabFocusMode.

marijn
published 6.5.0 •

Changelog

Source

6.5.0 (2024-04-19)

New features

The insertNewlineKeepIndent command inserts a newline along with the same indentation as the line before.

marijn
published 6.4.0 •

Changelog

Source

6.4.0 (2024-04-17)

Bug fixes

Fix an issue where deleteLine sometimes leaves the cursor on the wrong line.

New features

The new deleteCharBackwardStrict command just deletes a character, without further smart behavior around indentation.

marijn
published 6.3.3 •

Changelog

Source

6.3.3 (2023-12-28)

Bug fixes

Fix an issue causing cursor motion commands to not dispatch a transaction when the change only affects cursor associativity.

marijn
published 6.3.2 •

Changelog

Source

6.3.2 (2023-11-28)

Bug fixes

Fix a regression that caused deleteCharBackward to sometimes delete a large chunk of text.

marijn
published 6.3.1 •

Changelog

Source

6.3.1 (2023-11-27)

Bug fixes

When undoing, store the selection after the undone change with the redo event, so that redoing restores it.

deleteCharBackward will no longer delete variant selector characters as separate characters.

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