MCPcopy Create free account
hub / github.com/benfry/processing4 / insertUpdate

Method insertUpdate

app/src/processing/app/ui/Editor.java:1579–1587  ·  view source on GitHub ↗
(DocumentEvent e)

Source from the content-addressed store, hash-verified

1577 }
1578
1579 public void insertUpdate(DocumentEvent e) {
1580 if (!isInserting && !textarea.isOverwriteEnabled() && isDirectEdit()) {
1581 endTextEditHistory();
1582 }
1583
1584 if (!textarea.isOverwriteEnabled()) {
1585 isInserting = true;
1586 }
1587 }
1588
1589 public void changedUpdate(DocumentEvent e) {
1590 endTextEditHistory();

Callers

nothing calls this directly

Calls 3

isDirectEditMethod · 0.95
endTextEditHistoryMethod · 0.95
isOverwriteEnabledMethod · 0.80

Tested by

no test coverage detected