I’m using CodeMirror 6 to implement a simple code editor for a custom language. CodeMirror supports folding, but I can’t quite find out whether it supports folding code on a single line as well. I want to support something like
a.b.c.d:1.2.3.4
being folded into
…d:v
Potentially, multiple folds can occur on a single line. Is this possible?