(DocumentEvent e)
| 1831 | document.addDocumentListener(new DocumentListener() { |
| 1832 | |
| 1833 | public void removeUpdate(DocumentEvent e) { |
| 1834 | if (isInserting && isDirectEdit() && !textarea.isOverwriteEnabled()) { |
| 1835 | endTextEditHistory(); |
| 1836 | } |
| 1837 | isInserting = false; |
| 1838 | } |
| 1839 | |
| 1840 | public void insertUpdate(DocumentEvent e) { |
| 1841 | if (!isInserting && !textarea.isOverwriteEnabled() && isDirectEdit()) { |
nothing calls this directly
no test coverage detected