Merge pull request #13020 from Nightfirecat/chatbox-text-input-ctrl-a

ChatboxTextInput: Select full message on ctrl+a
This commit is contained in:
Abex
2021-01-11 20:40:13 -07:00
committed by GitHub

View File

@@ -689,6 +689,11 @@ public class ChatboxTextInput extends ChatboxInput implements KeyListener, Mouse
log.warn("Unable to get clipboard", ex);
}
return;
case KeyEvent.VK_A:
selectionStart = 0;
selectionEnd = value.length();
cursorAt(0, selectionEnd);
return;
}
return;
}