thunderclient / thunder-client-support

Thunder Client is a lightweight Rest API Client Extension for VS Code.
https://www.thunderclient.com
Other
3.62k stars 127 forks source link

Cursor not matching the actual location #1440

Closed simontorres closed 8 months ago

simontorres commented 8 months ago

Describe the bug While adding data to a request's body in json format, the blinking cursor is placed far from the actual location or where the action will be performed image

For example, in this case if you press backspace it will delete the number 2 and as you can see the cursor is far, this is very distracting and of course makes it impossible to precisely edit complex json data without having to guess the actual position of the cursor.

The font seems different from the rest of vscode

To Reproduce I have no idea how to reproduce it, but I have made some mods to my vscode, such as custom icons, a different font Cascade Code and Fira Code. On a Mac, with the same settings (settings are synced) it works as expected.

Expected behavior Should behave like any regular text editor in the sense that the cursor should be place next the character it is going to edit, not an inch away.

Platform:

Are you using the free version/paid version/trial:

Free version

rangav commented 8 months ago

Hi @simontorres Are you using a custom font?

See solution here https://github.com/rangav/thunder-client-support/issues/1326#issuecomment-1714123998

simontorres commented 8 months ago

@rangav thanks,

Yes, I have Cascade Code and Fira code as fonts, but I have synced settings and the problem is only present on my linux machine.

I will try changing the font.

simontorres commented 8 months ago

I just added the list of fonts to my current list and it's fixed now. image