MCPcopy Index your code
hub / github.com/arduino/Arduino / keyPressed

Method keyPressed

app/src/processing/app/EditorStatus.java:277–282  ·  view source on GitHub ↗
(KeyEvent event)

Source from the content-addressed store, hash-verified

275
276 // Grab ESC with keyPressed, because it's not making it to keyTyped
277 public void keyPressed(KeyEvent event) {
278 if (event.getKeyChar() == KeyEvent.VK_ESCAPE) {
279 unedit();
280 event.consume();
281 }
282 }
283
284 // use keyTyped to catch when the feller is actually
285 // added to the text field. with keyTyped, as opposed to

Callers

nothing calls this directly

Calls 1

uneditMethod · 0.95

Tested by

no test coverage detected