Skip to content

🐞 Carriage return problems: Editor puts lines to blank as carriage return is pressed multiple times #1897

@duoduoffff

Description

@duoduoffff

Description

As the title goes. When I create new lines inside a file, no matter what programming language it is in, the editor simply puts some lines to blank, but preserves soft tabs.

Here is a short video showing the bug:

Screen.Recording.2024-10-09.at.12.49.13.mov

The circumstances required triggering this bug is not clear, but I believe any multiline plain text file will result in this.

To Reproduce

  1. Open any project from GitHub, just try and clone one you like, I believe any programming language will do the trick
  2. Open a multiline text file from the project explorer by double-clicking it.
  3. Focus on the editor and press carriage return multiple times.
  4. Observe the bug

Expected Behavior

The editor does carriage returns normally, automatically scrolls down, and does not put lines in source file to blank.

Version Information

CodeEdit: Version 0.3.2-alpha (43)
macOS: Darwin notRachels-Mac-mini.local 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 arm64 macOS 14.5 (23F79)
Xcode: Not installed

Additional Context

No response

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    🏁 Complete

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions