You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
It seems like as part of CodeMirror 5 -> CodeMirror 6, strings in Python are not able to fold. I would appreciate any attention getting this working again.
Activity
marijnh commentedon Apr 22, 2025
This only worked in 5 because it simply looked at indentation, and I guess you indented your string's continued lines.
I suppose, with Python's docstring convention, big strings aren't uncommon. Attached patch adds a fold rule for them.