(DocumentEvent e)
| 1570 | document.addDocumentListener(new DocumentListener() { |
| 1571 | |
| 1572 | public void removeUpdate(DocumentEvent e) { |
| 1573 | if (isInserting && isDirectEdit() && !textarea.isOverwriteEnabled()) { |
| 1574 | endTextEditHistory(); |
| 1575 | } |
| 1576 | isInserting = false; |
| 1577 | } |
| 1578 | |
| 1579 | public void insertUpdate(DocumentEvent e) { |
| 1580 | if (!isInserting && !textarea.isOverwriteEnabled() && isDirectEdit()) { |
nothing calls this directly
no test coverage detected