# Cursor location not accurate in expression editor

**URL:** <https://forum.inductiveautomation.com/t/cursor-location-not-accurate-in-expression-editor/22733>\
**Category:** Ignition Early Access\
**Created:** [February 20, 2019, 8:00pm UTC](https://forum.inductiveautomation.com/t/cursor-location-not-accurate-in-expression-editor/22733 "2019-02-20T20:00:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve\_Laubach](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_laubach/32/60900_2.png) [@Steve\_Laubach](https://forum.inductiveautomation.com/u/Steve_Laubach)\
**Post date:** [February 20, 2019, 8:00pm UTC](https://forum.inductiveautomation.com/t/cursor-location-not-accurate-in-expression-editor/22733/1 "2019-02-20T20:00:12Z")

</div>

I was working off a roughly 2 day old beta build. I just confirmed this is happening in the latest build also.

When editing a long expression the cursor does not represent the location that you are editing. The cursor location was accurate in the earlier parts of the expression but editing parts toward the end it was displaying the cursor in a location within a few characters of the location that is being edited when I edit. So basically, I have to make note of my expression, type a character to determine where I am editing, delete that character and use the arrow keys to move to the location I want to be editing.

I am doing this RDP’d into a cloud server that has my Ignition install in case that matters. I hope to test this on a local install later but won’t have time to do that today.

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [February 20, 2019, 8:03pm UTC](https://forum.inductiveautomation.com/t/cursor-location-not-accurate-in-expression-editor/22733/2 "2019-02-20T20:03:15Z")

</div>

Check out this post: [[DEBUG] Cursor in Scripting](http://forum.inductiveautomation.com/t/debug-cursor-in-scripting/22549)

If that doesn’t fix things, let us know.

---

<div class="post-metadata">

**Author:** ![Steve\_Laubach](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_laubach/32/60900_2.png) [@Steve\_Laubach](https://forum.inductiveautomation.com/u/Steve_Laubach)\
**Post date:** [February 20, 2019, 8:07pm UTC](https://forum.inductiveautomation.com/t/cursor-location-not-accurate-in-expression-editor/22733/3 "2019-02-20T20:07:53Z")

</div>

Is the cache moved to this spot?  
C:\Program Files\Inductive Automation\Ignition\data\datacache

I just don’t want to delete the wrong thing and screw up my stuff 🙂

---

<div class="post-metadata">

**Author:** ![code\_skin](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@code\_skin](https://forum.inductiveautomation.com/u/code_skin)\
**Post date:** [February 20, 2019, 8:10pm UTC](https://forum.inductiveautomation.com/t/cursor-location-not-accurate-in-expression-editor/22733/4 "2019-02-20T20:10:53Z")

</div>

open windows explorer and try: %userprofile%  
then look for .ignition/cache…

_EDIT_: this should be done on the machine that is launching designer.

---

<div class="post-metadata">

**Author:** ![Steve\_Laubach](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_laubach/32/60900_2.png) [@Steve\_Laubach](https://forum.inductiveautomation.com/u/Steve_Laubach)\
**Post date:** [February 20, 2019, 8:38pm UTC](https://forum.inductiveautomation.com/t/cursor-location-not-accurate-in-expression-editor/22733/5 "2019-02-20T20:38:20Z")

</div>

That got me to the right folder.

I had to reboot the server to delete the runtime cache folder but I was able to delete it.

My problem is fixed.

Thank you.
