System information
OS: Windows 11
Java version: 11
Digital version: 0.31
Bug description
When editing a test case and pressing enter, the text on the previous line is duplicated and shifted to the left, such that it overlaps with the line numbers. Example of test case before and after pressing the enter key:

The bug disappears when resizing the editor window. Also, I found that the bug does not occur when using Ubuntu 24.04 instead of Windows 11, or when using Java 8 instead of Java 11.
System information
OS: Windows 11
Java version: 11
Digital version: 0.31
Bug description
When editing a test case and pressing enter, the text on the previous line is duplicated and shifted to the left, such that it overlaps with the line numbers. Example of test case before and after pressing the enter key:

The bug disappears when resizing the editor window. Also, I found that the bug does not occur when using Ubuntu 24.04 instead of Windows 11, or when using Java 8 instead of Java 11.