Fixed multi line comment changing cursor position

This commit is contained in:
bigguy345 committed 2025-12-19 18:29:52 +02:00
1 parent 3e28437682
commit 94864fb19a
1 file changed
-1
@@ -1161,7 +1161,6 @@ public class GuiScriptTextArea extends GuiNpcTextField {
setText(result.newText);
selection.setStartSelection(result.newStartSelection);
selection.setEndSelection(result.newEndSelection);
selection.setCursorPositionDirect(result.newEndSelection);
}
private void toggleCommentLineAtCursor() {