Skip to content

Update to Codemirror v6#4152

Open
khanniie wants to merge 163 commits into
developfrom
develop-codemirror-v6
Open

Update to Codemirror v6#4152
khanniie wants to merge 163 commits into
developfrom
develop-codemirror-v6

Conversation

@khanniie
Copy link
Copy Markdown
Member

@khanniie khanniie commented Jun 4, 2026

Issue:

Fixes #3814

Changes:

Updates Codemirror 5 to Codemirror 6!

I have verified that this pull request:

  • has no linting errors (npm run lint)
  • has no test errors (npm run test)
  • has no typecheck errors (npm run typecheck)
  • is from a uniquely-named feature branch and is up to date with the develop branch.
  • is descriptively named and links to an issue number, i.e. Fixes #123
  • meets the standards outlined in the accessibility guidelines

khanniie and others added 30 commits January 24, 2025 00:15
…t-file

Editor file splitting: create new hint file
…ls-tidy

Moves the tidier code and file mode utils out of editor file
I'm fairly certain that we can remove ```
      if (!prevProps?.unsavedChanges) {
        setTimeout(() => setUnsavedChanges(false), 400);
      }
```

I looked at the git blame and it looks like the intention was to stop setting unsavedchanges to false when the files switched, but i think the solve that was implemented 9 years ago did something like "if c == false, c = false" and we should be able to safely remove it instead.

reference commit: 77e2f5b
…itoff-codemirror

Convert Editor to functional, splits off CodeMirror code into its own file
@release-com
Copy link
Copy Markdown

release-com Bot commented Jun 4, 2026

Release Environments

This Environment is provided by Release, learn more!
To see the status of the Environment click on Environment Status below.

🔧Environment Status : https://app.release.com/public/Processing%20Foundation/env-5557d12d6d

@khanniie khanniie requested a review from raclim June 4, 2026 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CodeMirror 6 Feature Branch