Skip to content

Incomplete Text Selection in the Right-Side Editor #715

@csprasad

Description

@csprasad

Hi there,

I’ve encountered an issue with the SwiftFormatter website. When I paste code into the editor, format it, and try to copy the formatted code using Command + A (Select All) in the right-side editor, it only selects the visible portion of the text on the screen. Even after scrolling down and trying Command + A again, it still only selects the first visible section and ignores the rest of the content below.

Steps to reproduce:

  • Paste code into the left-side editor.
  • Click the "Run" button to format the code.
  • On the right-side editor, press Command + A to select all the formatted code.
  • Observe that only the visible portion of the text is selected, and the content below is ignored.

I’ve tried refreshing the page, but the issue persists. This makes it difficult to copy the entire formatted code, especially for longer snippets.

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