# Code Editor: scroll to undo/redo position when executing undo/redo

**URL:** https://forum.pinegrow.com/t/code-editor-scroll-to-undo-redo-position-when-executing-undo-redo/3857
**Category:** Feature Request
**Created:** [March 10, 2020, 12:50pm UTC](https://forum.pinegrow.com/t/code-editor-scroll-to-undo-redo-position-when-executing-undo-redo/3857 "2020-03-10T12:50:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Wizard](https://avatars.discourse-cdn.com/v4/letter/w/a87d85/32.png) [@Wizard](https://forum.pinegrow.com/u/Wizard)
#### Post date: [March 10, 2020, 12:50pm UTC](https://forum.pinegrow.com/t/code-editor-scroll-to-undo-redo-position-when-executing-undo-redo/3857/1 "2020-03-10T12:50:04Z")

</div>

When in code editor and executing undo on previously written text the code editor currently does not scroll to the position where the previously added text is removed. This makes it difficult to track undo actions in code editor. The same, of course, holds true for redo actions.

**So my request is that the code editor of pinegrow should scroll to the position where the undo/redo action is taking place so that one can easily see what the undo/redo action did.** This is the standard behavior in atom and most other text editors.

---

<div class="post-metadata">

### Author: ![mmelon](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mmelon](https://forum.pinegrow.com/u/mmelon)
#### Post date: [March 14, 2020, 7:26am UTC](https://forum.pinegrow.com/t/code-editor-scroll-to-undo-redo-position-when-executing-undo-redo/3857/2 "2020-03-14T07:26:49Z")

</div>

Yes please +1. This drives me mad and causes me to lose code.

---

<div class="post-metadata">

### Author: ![Pepe](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/pepe/32/2505_2.png) [@Pepe](https://forum.pinegrow.com/u/Pepe)
#### Post date: [March 14, 2020, 11:23am UTC](https://forum.pinegrow.com/t/code-editor-scroll-to-undo-redo-position-when-executing-undo-redo/3857/3 "2020-03-14T11:23:40Z")

</div>

Hi all,

It will be nice feature because all code editors go last position. Best result is sync vs code with Pinegrow. It will always go that code place where it should be.
