Skip to content

Can not go to the start of line correctly when line is wrap #5779

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

Open
linghao-new opened this issue Mar 25, 2025 · 0 comments
Open

Can not go to the start of line correctly when line is wrap #5779

linghao-new opened this issue Mar 25, 2025 · 0 comments

Comments

@linghao-new
Copy link

Describe the bug

The behavior of go to the start of line with Home button is not expected when a long line is wrap.

Expected Behavior

The cursor should go to the beginning of the whole line, not just the current wrapped line.

Current Behavior

If the code is auto wrap into two lines and the cursor is on the second half, the Home key will only move the cursor to the start of second line.

Reproduction Steps

input a long code and make it auto wrap into multiple lines, move the cursor to the very end of the whole line and use Home key to go to the start of line

Possible Solution

No response

Additional Information/Context

No response

Ace Version / Browser / OS / Keyboard layout

1.24.1

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

No branches or pull requests

2 participants