MCPcopy Create free account
hub / github.com/badvision/jace / pasteFromString

Method pasteFromString

src/main/java/jace/core/Keyboard.java:319–322  ·  view source on GitHub ↗
(String text)

Source from the content-addressed store, hash-verified

317 }
318
319 public static void pasteFromString(String text) {
320 text = text.replaceAll("\\r?\\n|\\r", (char) 0x0d + "");
321 pasteBuffer = new StringReader(text);
322 }
323
324 @InvokableAction(name = "Paste clipboard", alternatives = "paste", category = "Keyboard", notifyOnRelease = false, defaultKeyMapping = {"Ctrl+Shift+V","Shift+Insert"}, consumeKeyEvent = true)
325 public static void pasteFromClipboard() {

Callers 3

pasteFromClipboardMethod · 0.95
executeMethod · 0.95
readButtonsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected