void (@NotNull DocumentEvent e) { scheduleRevisionsUpdate(m -> { m.setFilter(field.getText()); ApplicationManager.getApplication().invokeLater(() -> { if (!isDisposed()) { field.addCurrentTextToHistory(); } }); }); }