Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Indent not maintained after subscripting in CodeMirror 6 #1553

Closed

Description

@AyushPatel101

Describe the issue

Upgrading from CodeMirror 5 to CodeMirror 6 (similar setup as from jupyterlab/jupyterlab#17464), and noticed that indentation does not maintain as expected when using CodeMirror 6

jh-incorrect-indentation.mov

Browser and platform

No response

Reproduction link

No response

Activity

  1. marijnh commented on Apr 22, 2025

    @marijnh
    Member

    Is this Python code?

  2. AyushPatel101 commented on Apr 22, 2025

    @AyushPatel101
    Author

    Yes it is Python code

  3. marijnh commented on Apr 23, 2025

    @marijnh
    Member

    Attached patch should help.

  4. AyushPatel101 commented on Apr 29, 2025

    @AyushPatel101
    Author

    What would be the best way for me to test this out before release?

  5. marijnh commented on Apr 29, 2025

    @marijnh
    Member

    These have been released and are available on the sandbox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions