mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 18:57:32 +00:00
Fixed multi line comment changing cursor position
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user