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

1345

6.3.0

Diff

Changelog

Source

6.3.0 (2023-09-29)

Bug fixes

Make it possible for selectParentSyntax to jump out of or into a syntax tree overlay.

Make Cmd-Backspace and Cmd-Delete on macOS delete to the next line wrap point, not the start/end of the line.

New features

The new deleteLineBoundaryForward and deleteLineBoundaryBackward commands delete to the start/end of the line or the next line wrapping point.

marijn
published 6.2.5 •

Changelog

Source

6.2.5 (2023-08-26)

Bug fixes

Make insertNewlineAndIndent properly count indentation for tabs when copying over the previous line's indentation.

The various sub-word motion commands will now use Intl.Segmenter, when available, to stop at CJK language word boundaries.

Fix a bug in insertNewlineAndIndent that would delete text between brackets if it had no corresponding AST node.

marijn
published 6.2.4 •

Changelog

Source

6.2.4 (2023-05-03)

Bug fixes

The by-subword motion commands now properly treat dashes, underscores, and similar as subword separators.

marijn
published 6.2.3 •

Changelog

Source

6.2.3 (2023-04-19)

Bug fixes

Block commenting the selection no longer includes indentation on the first line.

marijn
published 6.2.2 •

Changelog

Source

6.2.2 (2023-03-10)

Bug fixes

Fix a bug where line commenting got confused when commenting a range that crossed language boundaries.

marijn
published 6.2.1 •

Changelog

Source

6.2.1 (2023-02-15)

Bug fixes

Keep cursor position stable in cursorPageUp/cursorPageDown when there are panels or other scroll margins active.

Make sure toggleComment doesn't get thrown off by local language nesting, by fetching the language data for the start of the selection line.

marijn
published 6.2.0 •

Changelog

Source

6.2.0 (2023-01-18)

New features

The new joinToEvent history configuration option allows you to provide custom logic that determines whether a new transaction is added to an existing history event.

marijn
published 6.1.3 •

Changelog

Source

6.1.3 (2022-12-26)

Bug fixes

Preserve selection bidi level when extending the selection, to prevent shift-selection from getting stuck in some kinds of bidirectional text.

marijn
published 6.1.2 •

Changelog

Source

6.1.2 (2022-10-13)

Bug fixes

Fix a bug that caused deletion commands on non-empty ranges to incorrectly return false and do nothing, causing the editor to fall back to native behavior.

marijn
published 6.1.1 •

Changelog

Source

6.1.1 (2022-09-28)

Bug fixes

Make sure the selection endpoints are moved out of atomic ranges when applying a deletion command to a non-empty selection.

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