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

Delete folded block erases text on following line #23042

Closed
athompson673 opened this issue Nov 21, 2024 · 3 comments · Fixed by #23044
Closed

Delete folded block erases text on following line #23042

athompson673 opened this issue Nov 21, 2024 · 3 comments · Fixed by #23044

Comments

@athompson673
Copy link
Contributor

Problem Description

Media1.mp4

What steps reproduce the problem?

  1. Write a function
  2. Write something on the next line (no whitespace)
  3. Fold the funciton
  4. Place cursor on folded line (or have selection anchor on folded line)
  5. Press delete or backspace

What is the expected output? What do you see instead?

I expect the function to be deleted but not the contents of the following line

Versions

  • Spyder version: 6.0.2
  • Python version: 3.12.7
  • Qt version: 5.15.2
  • PyQt version: 5.15.11
  • Operating System name/version: Win10
@ccordoba12
Copy link
Member

Very good catch, thanks for reporting it @athompson673!

I also saw that you managed to fix it, which is even better. Thanks for that too!

@athompson673
Copy link
Contributor Author

@ccordoba12 I found it while working on #22996 and figured it should be fixed separate to the 50+ commits I have going in that fork...

I'd love any thoughts you have on that by the way.

@ccordoba12
Copy link
Member

I found it while working on #22996 and figured it should be fixed separate to the 50+ commits I have going in that fork...

Great idea!

I'd love any thoughts you have on that by the way.

I saw it, thanks for tackling that hard and highly requested feature! I'll try to take a look at it next week.

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