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

🐞 Editor randomly jumps up on it's own #28

Closed
nkleemann opened this issue Dec 12, 2023 · 3 comments · Fixed by #29
Closed

🐞 Editor randomly jumps up on it's own #28

nkleemann opened this issue Dec 12, 2023 · 3 comments · Fixed by #29
Assignees
Labels
bug Something isn't working

Comments

@nkleemann
Copy link

Description

I've noticed that when editing near the bottom of a file, and using editing commands such as "Shift-ArrowKey" to select text, the editor view jumps up to the beginning of the file.

I could record it happening here (my keypresses are visible bottom right) - see attached screen recording.

To Reproduce

  1. Edit a file near the bottom of the View
  2. Select text using Shift-Arrow

Expected Behavior

The editor window shouldnt move on its own.

Version Information

CodeEditTextView: main branch
macOS: [e.g. 13.6.2]

Additional Context

No response

Screenshots

Screen Recording

@nkleemann nkleemann added the bug Something isn't working label Dec 12, 2023
@thecoolwinter
Copy link
Contributor

Can you confirm if this issue is still happening? We merged the new text view the day this was opened, but have made a bunch of changes since then.

@nkleemann
Copy link
Author

Yes, same thing still happens - just tested it on a document that is just long enough so that the editor view scrolls.

Selecting text with Shift+ causes the editor to automatically jump/scroll to the top. This happens anywhere in the file, as long as the view itself is scrolled up a bit. After the editor jumps, I can't see the cursor anymore, but the text insertion point doesn't change.

@thecoolwinter
Copy link
Contributor

Thanks for the update, I'll look into this.

@thecoolwinter thecoolwinter self-assigned this May 11, 2024
@thecoolwinter thecoolwinter transferred this issue from CodeEditApp/CodeEditSourceEditor May 11, 2024
@github-project-automation github-project-automation bot moved this from 🏃‍♂️ In Progress to 🏁 Complete in CodeEdit Project May 16, 2024
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

Successfully merging a pull request may close this issue.

2 participants