Skip to content

Tags: codemirror/language

Tags

6.10.2

Toggle 6.10.2's commit message
Version 6.10.2

### Bug fixes

Fix an infinite loop that could occur when enabling `bidiIsolates` in documents with both bidirectional text and very long lines.

6.10.1

Toggle 6.10.1's commit message
Version 6.10.1

### Bug fixes

Fix an issue where, when a lot of code is visible in the initial editor, the bottom bit of code is shown without highlighting for one frame.

6.10.0

Toggle 6.10.0's commit message
Version 6.10.0

### New features

The new `bidiIsolates` extension can be used to wrap syntactic elements where this is appropriate in an element that isolates their text direction, avoiding weird ordering of neutral characters on direction boundaries.

6.9.3

Toggle 6.9.3's commit message
Version 6.9.3

### Bug fixes

Fix an issue in `StreamLanguage` where it ran out of node type ids if you repeatedly redefined a language with the same token table.

6.9.2

Toggle 6.9.2's commit message
Version 6.9.2

### Bug fixes

Allow `StreamParser` tokens get multiple highlighting tags.

6.9.1

Toggle 6.9.1's commit message
Version 6.9.1

### Bug fixes

Indentation now works a lot better in mixed-language documents that interleave the languages in a complex way.

Code folding is now able to pick the right foldable syntax node when the line end falls in a mixed-parsing language that doesn't match the target node.

6.9.0

Toggle 6.9.0's commit message
Version 6.9.0

### Bug fixes

Make `getIndentation` return null, rather than 0, when there is no syntax tree available.

### New features

The new `preparePlaceholder` option to `codeFolding` makes it possible to display contextual information in a folded range placeholder widget.

6.8.0

Toggle 6.8.0's commit message
Version 6.8.0

### New features

The new `baseIndentFor` method in `TreeIndentContext` can be used to find the base indentation for an arbitrary node.

6.7.0

Toggle 6.7.0's commit message
Version 6.7.0

### New features

Export `DocInput` class for feeding editor documents to a Lezer parser.

6.6.0

Toggle 6.6.0's commit message
Version 6.6.0

### New features

Syntax-driven language data queries now support sublanguages, which make it possible to return different data for specific parts of the tree produced by a single language.