allow direct access to column pattern

This commit is contained in:
Pascal Kuthe 2023-08-29 15:11:27 +02:00
parent 8b22bc28cb
commit e2e0f69aa8
No known key found for this signature in database
GPG Key ID: D715E8655AE166A6

View File

@ -64,6 +64,10 @@ impl MultiPattern {
self.cols[column].0.reparse(new_text, case_matching); self.cols[column].0.reparse(new_text, case_matching);
} }
pub fn column_pattern(&self, column: usize) -> &Pattern {
&self.cols[column].0
}
pub(crate) fn status(&self) -> Status { pub(crate) fn status(&self) -> Status {
self.cols self.cols
.iter() .iter()