*Created by: soprano* <!--- ** For coding questions, please use https://discourse.processing.org ** --> <!--- ** This form is only for bugs in the software & feature requests ** --> <!--- ** Also be sure to read the troubleshooting page first: ** --> <!--- ** https://github.com/processing/processing/wiki/Troubleshooting ** --> <!--- ** Before posting, please search Issues for duplicates ** --> ## Description <!--- Use a title that describes what is happening. --> Display of cursor position in Editor in Windows 10 for the 4.0 alpha versions 5 and 6 is offset to the right when using OS display scaling (>100%) <!--- Give a description of the proposed change. --> Change the display of the cursor to the correct position in the Editor ## Expected Behavior <!--- Bug? Tell us what you were expecting. --> When you see the cursor and you delete to the left or to the right, it is supposed to do it as in the position of the displayed cursor. <!--- Improvement? Tell us how you’d like it to work. --> It should work like in version 3.5.4 ## Current Behavior <!--- Explain the difference from current behavior. --> ## Steps to Reproduce <!--- Provide an unambiguous set of steps to reproduce. --> <!--- Including code will make it more likely to be fixed. --> 1. 2. 3. ## Your Environment <!--- Include details about your environment. --> <!--- Thousands of people use Processing every day and may not have --> <!--- this issue, this might give us clues about why you’re seeing it. --> * Processing version: 4.0.5 and 4.0.6 in Windows 10 * Operating System and OS version: Windows 10 * Other information: ## Possible Causes / Solutions <!--- Optionally, ideas on how to implement the change. -->