Socket
Socket
Sign inDemoInstall

@codemirror/fold

Package Overview
Dependencies
10
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @codemirror/fold

Code folding for the CodeMirror code editor


Version published
Weekly downloads
28K
decreased by-16.29%
Maintainers
2
Install size
1.72 MB
Created
Weekly downloads
 

Changelog

Source

0.18.1 (2021-04-30)

Bug fixes

The fold gutter will now properly update when the editor's language config changes.

Fix an issue where the fold gutter could get out of date when changes below a given line affected the fold marker for that line.

New features

The package now exports a foldedRanges function that can be used to query set of folded ranges in an editor state.

The newly exported foldEffect and unfoldEffect state effects can be used to control the fold state directly.

Readme

Source

@codemirror/fold NPM version

[ WEBSITE | DOCS | ISSUES | FORUM | CHANGELOG ]

This package implements code folding for the CodeMirror code editor.

The project page has more information, a number of examples and the documentation.

This code is released under an MIT license.

We aim to be an inclusive, welcoming community. To make that explicit, we have a code of conduct that applies to communication around the project.

Keywords

FAQs

Last updated on 30 Apr 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc