Class: Ruber::FindInFiles::FindWidget::Filter
- Inherits:
-
FilterModel
- Object
- FilterModel
- Ruber::FindInFiles::FindWidget::Filter
- Defined in:
- plugins/find_in_files/find_in_files_widgets.rb
Overview
Filter model used by the view in FindWidget
Instance Method Summary (collapse)
-
- (Boolean) filterAcceptsRow(row, parent)
Filters a row.
Instance Method Details
- (Boolean) filterAcceptsRow(row, parent)
Filters a row
If the filter column is the first, always returns true for child rows, while always returns true for top level rows for all other values of the filter column
176 177 178 179 180 181 |
# File 'plugins/find_in_files/find_in_files_widgets.rb', line 176 def filterAcceptsRow row, parent if filter_key_column == 0 parent.valid? ? true : super else parent.valid? ? super : true end end |