Socket
Socket
Sign inDemoInstall

@codemirror/text

Package Overview
Dependencies
0
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

0.19.6

Diff

Changelog

Source

0.19.6 (2022-01-14)

New features

findClusterBreak now takes an optional includeExtending argument that determines whether it skips over extending characters.

marijn
published 0.19.5 •

Changelog

Source

0.19.5 (2021-10-26)

Bug fixes

Fix the return type of iterLines.

marijn
published 0.19.4 •

Changelog

Source

0.19.4 (2021-10-01)

New features

TextIterators are now iterable.

findColumn now takes an optional strict argument that makes it report -1 for columns outside of the string.

marijn
published 0.19.3 •

Changelog

Source

0.19.3 (2021-09-04)

Bug fixes

Fix an issue where a partial text cursor would sometimes not appropriately report it was done.

marijn
published 0.19.2 •

Changelog

Source

0.19.2 (2021-08-25)

New features

Text.children is now public, and can be used to iterate over the Text objects in a tree.

marijn
published 0.19.1 •

Changelog

Source

0.19.1 (2021-08-23)

New features

Text objects now expose an iterLines method to create an iterator over their lines.

marijn
published 0.19.0 •

Changelog

Source

0.19.0 (2021-08-11)

Breaking changes

countColumn now takes different arguments.

marijn
published 0.18.1 •

Changelog

Source

0.18.1 (2021-07-06)

Breaking changes

findColumn now takes only three arguments. (The old argument list will be supported until the next breaking version.)

marijn
published 0.18.0 •

Changelog

Source

0.18.0 (2021-03-03)

Breaking changes

Update dependencies to 0.18.

marijn
published 0.17.2 •

Changelog

Source

0.17.2 (2021-01-06)

New features

The package now also exports a CommonJS module.

2Next
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc