When I use void before any draw, setup, or settings the cursor gets misaligned
It is expected to have the cursor to be in the correct position after typing void but gets misaligned somehow.
The cursor gets misaligned after typing void

This doesn't happen on macOS. Guessing this is related to the code-completion feature that is being tested. You could try setting pdex.completion.trigger=false in preferences.txt and see if this makes this artifact go away.
I just looked at it and it is already false, I still have no idea why it does it.
I can't seem to reproduce the bug either. Neither having pdex.completion.trigger=true nor false doesn't change the behaviour of the IDE.
I have also experienced this alignment problem before. Don't know what triggered it. Currently, I am able to reproduce this by setting my font to MS Gothic (pdex.completion.trigger is false). @TheErrorScript may I know what font are you using?
Using MS Gothic the cursor missaligned with both pdex.completion.trigger=false and true. After further testing, Lucida Console, MingLiU-ExtB, MingLiU-HKSCS-ExtB, NSimSun, OCR A Extended, SimSun, SimSun-ExtB, all produce the same bug. Maybe it's due to a difference between character size and character symbol size.
Most helpful comment
Using MS Gothic the cursor missaligned with both
pdex.completion.trigger=falseandtrue. After further testing, Lucida Console, MingLiU-ExtB, MingLiU-HKSCS-ExtB, NSimSun, OCR A Extended, SimSun, SimSun-ExtB, all produce the same bug. Maybe it's due to a difference between character size and character symbol size.