# Bug: After typing in the code window, mouse cursor no longer aligns with typed text

**URL:** https://discourse.processing.org/t/bug-after-typing-in-the-code-window-mouse-cursor-no-longer-aligns-with-typed-text/34177
**Category:** Processing
**Created:** [December 18, 2021, 8:34am UTC](https://discourse.processing.org/t/bug-after-typing-in-the-code-window-mouse-cursor-no-longer-aligns-with-typed-text/34177 "2021-12-18T08:34:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ltolenti](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ltolenti/32/14578_2.png) [@ltolenti](https://discourse.processing.org/u/ltolenti)
#### Post date: [December 18, 2021, 8:34am UTC](https://discourse.processing.org/t/bug-after-typing-in-the-code-window-mouse-cursor-no-longer-aligns-with-typed-text/34177/1 "2021-12-18T08:34:27Z")

</div>

When I type into the coding window, after typing 12 or more characters, the spacing between the (flashing) typing cursor and the typed text gets so wide that I can no longer correctly put my cursor between letters I want to type. When I try to, e.g., put my cursor between two letters and type, my type ends up further to the right. Is there a setting I need to change to fix this? Or is this a bug?  
This has never been a problem with my versions of Processing, only with the most recent change to P4.

---

<div class="post-metadata">

### Author: ![ltolenti](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ltolenti/32/14578_2.png) [@ltolenti](https://discourse.processing.org/u/ltolenti)
#### Post date: [December 18, 2021, 8:40am UTC](https://discourse.processing.org/t/bug-after-typing-in-the-code-window-mouse-cursor-no-longer-aligns-with-typed-text/34177/2 "2021-12-18T08:40:06Z")

</div>

I am using Windows 10 on an MSI laptop.

---

<div class="post-metadata">

### Author: ![hotfooted](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hotfooted/32/3670_2.png) [@hotfooted](https://discourse.processing.org/u/hotfooted)
#### Post date: [December 18, 2021, 9:03am UTC](https://discourse.processing.org/t/bug-after-typing-in-the-code-window-mouse-cursor-no-longer-aligns-with-typed-text/34177/3 "2021-12-18T09:03:40Z")

</div>

there is an issue with processing and windows scaling. if you google the github you can find it lodged as an issue.

[one link to the issue which is still open](https://github.com/processing/processing4/issues/226)
