cf09029847
Errors printed in the console can be clicked to have the cursor jump to the source code line where the error is at. The mouse cursor changes its shape to indicate which parts of the error message can be clicked on the console. When the cursor jumps, the text editor takes the focus away from the console and it scrolls the window to make the line with the error is visible if it isn't. This code uses the function created for the go-to PR but adds code to switch focus to the target. When the codes are merged please keep both the part that jumps the cursor and the part that sets the focus. --------- Co-authored-by: Nik <werwolv98@gmail.com>