If you are a windows user and have that dpi problem with the editor there is a simple fix
either use my PureBasic_Portable launcher viewtopic.php?p=580186#p580186
OR
write your own launcher that set the following environment variable before you launch PureBasic with RunProgram()
SetEnvironmentVariable("__COMPAT_LAYER","GdiDPIScaling DPIUnaware")
Or you can add it to the user variables control panel of the system.
Hope this help those in need.