MCPcopy Index your code
hub / github.com/benfry/processing4 / keyPressed

Method keyPressed

app/src/processing/app/ui/EditorStatus.java:179–185  ·  view source on GitHub ↗
(KeyEvent e)

Source from the content-addressed store, hash-verified

177
178 editor.getTextArea().addKeyListener(new KeyAdapter() {
179 @Override
180 public void keyPressed(KeyEvent e) {
181 if (shiftDown != e.isShiftDown()) {
182 shiftDown = e.isShiftDown();
183 repaint();
184 }
185 }
186
187 @Override
188 public void keyReleased(KeyEvent e) {

Callers

nothing calls this directly

Calls 2

repaintMethod · 0.80
isShiftDownMethod · 0.45

Tested by

no test coverage detected