Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
feroz-hub opened this issue Dec 22, 2024 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@feroz-hub
Copy link

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

@feroz-hub feroz-hub added the bug Something isn't working label Dec 22, 2024
@thecoolwinter
Copy link
Collaborator

Transferring this issue to the editor repo. Does this only happen when deleting from the end of the file?

@thecoolwinter thecoolwinter transferred this issue from CodeEditApp/CodeEdit Jan 6, 2025
@thecoolwinter thecoolwinter moved this from 🆕 New to 💬 Needs Clarification in CodeEdit Project Jan 6, 2025
@thecoolwinter thecoolwinter mentioned this issue Jan 6, 2025
6 tasks
@thecoolwinter thecoolwinter moved this from 💬 Needs Clarification to 🏁 Complete in CodeEdit Project Jan 7, 2025
@thecoolwinter
Copy link
Collaborator

This should be fixed by the linked PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🏁 Complete
Development

No branches or pull requests

2 participants