Merge pull request #13020 from Nightfirecat/chatbox-text-input-ctrl-a
ChatboxTextInput: Select full message on ctrl+a
This commit is contained in:
@@ -689,6 +689,11 @@ public class ChatboxTextInput extends ChatboxInput implements KeyListener, Mouse
|
|||||||
log.warn("Unable to get clipboard", ex);
|
log.warn("Unable to get clipboard", ex);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
case KeyEvent.VK_A:
|
||||||
|
selectionStart = 0;
|
||||||
|
selectionEnd = value.length();
|
||||||
|
cursorAt(0, selectionEnd);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user