Skip to content

🐞 App crashes when pressing the delete key after typing incorrect code #284

@feroz-hub

Description

@feroz-hub

Description

I encountered an issue in CodeEdit where the app crashes when attempting to delete incorrect code. Specifically, after typing a piece of incorrect code, if I try to delete it using the delete key and retype the correct code, the app unexpectedly closes.

To Reproduce

  1. Open CodeEdit and create a new file.
  2. Type a piece of incorrect code (e.g., a syntax error).
  3. Attempt to delete the incorrect code using the delete key.
  4. Observe that the application crashes and closes unexpectedly.

Expected Behavior

Expected Behavior:
The application should allow me to delete the incorrect code and type the correct one without crashing.

Actual Behavior:
The app closes immediately upon pressing the delete key.

Version Information

CodeEdit: Version 0.3.3-alpha (44)
macOS: Version 15.2 (24C101)
Xcode: Not Installed

Additional Context

This issue makes it difficult to correct code errors, significantly affecting usability. Let me know if logs or additional details are needed to troubleshoot further.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    🏁 Complete

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions