Skip to content

Undo/Redo should move the caret to the area of text being modified #1238

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

Closed
MartyMacGyver opened this issue Jan 20, 2013 · 1 comment
Closed
Labels
Type: Duplicate Another item already exists for this topic

Comments

@MartyMacGyver
Copy link

[This issue is observed both 1.0 and 1.5 Arduino editors in Windows.]

Unlike most GUI-based editors, when you undo or redo a change the editor makes no attempt to move the view to that line or area of the file.

  • Open a long file that's longer than what'll fit in the visible editor area.
  • Make a change and move the caret to somewhere else in the file so that the modification is now out of view
  • "Undo" the change via the keyboard or menu
  • Watch and wonder what happened because the undo occurred outside of the visible area of the editor
  • Using "Redo" has the same (lack of visible) effect if the affected area is off-screen

It may sound trivial but as this is the first editor I've ever used that doesn't do this it detracts significantly from its usability. Given that other operations have no problem moving the caret in response to an error or other command, this should be a very simple improvement to implement.

@cmaglie
Copy link
Member

cmaglie commented Feb 6, 2013

Fixed, will be available in 1.5.2.
Duplicate of #278

@cmaglie cmaglie closed this as completed Feb 6, 2013
@per1234 per1234 added the Type: Duplicate Another item already exists for this topic label Jul 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

3 participants