Skip to content

Conversation

@ttttotem
Copy link
Contributor

@ttttotem ttttotem commented Sep 4, 2025

Fixes issue #263098 that was introduced in #235174

Problem:
xLeftBoundary is not correctly at where the left most line of the editor content, it is blocking clicking on the first column

Solution:
Remove horizontalScrollPadding from the cursor leaving editor content on the left side check. horizontalScrollPadding should not have been added to the left side check because layoutInfo.contentLeft correctly matches the left most point of the editor content

…issue that when you click on the last character it jumps to the end of the line
@aiday-mar aiday-mar requested a review from alexdima September 4, 2025 13:31
@aiday-mar aiday-mar changed the title Fixes issue 263098, "Caret jumps to column 0 when clicking between first two characters" Sep 4, 2025
@alexdima alexdima assigned alexdima and unassigned aiday-mar Sep 4, 2025
@alexdima alexdima removed the request for review from aiday-mar September 4, 2025 19:28
@alexdima alexdima added this to the August 2025 milestone Sep 4, 2025
@alexdima
Copy link
Member

alexdima commented Sep 4, 2025

Thank you!

@alexdima alexdima merged commit 565e99d into microsoft:main Sep 4, 2025
17 checks passed
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Oct 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

6 participants