Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Cursor being placed inappropriately when pressing down #1295

Closed
caseycrites opened this issue Dec 12, 2013 · 2 comments
Closed

Cursor being placed inappropriately when pressing down #1295

caseycrites opened this issue Dec 12, 2013 · 2 comments
Assignees
Labels

Comments

@caseycrites
Copy link

Atom Version

0.43.0

Behavior Expected

When pressing the down arrow while at the end of a line, the cursor should be placed at the end of the line below it.

Behavior Observed

When pressing down at the end of the last line in a css rule or the last line of a java method, the cursor is placed before the closing } instead of after.

before-not-after

@ghost ghost assigned kevinsawicki Dec 12, 2013
@nathansobo
Copy link
Contributor

We need to clear Cursor::goalColumn when the cursor moves for any reason, not just explicit move commands. Notice how the cursor is only moving right due to text insertion.

@lock
Copy link

lock bot commented Jan 27, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Jan 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants