void (@NotNull List<? extends ModelDiff.Cmd> commands, @NotNull SelectionPolicy selection) { for (ModelDiff.Cmd command : commands) { command.apply(); } showList(); myTextFieldPanel.repositionHint(); if (!myListModel.isEmpty()) { applySelection(selection); } }