boolean () { // This method is always invoked before close configuration dialog or leave "ToDo" page. // So it's a good place to commit all changes. stopEditing(); return TodoConfiguration.getInstance().isMultiLine() != myMultiLineCheckBox.isSelected() || arePatternsModified() || areFiltersModified(); }