Skip to content

Commit

Permalink
allow direct access to column pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalkuthe committed Aug 29, 2023
1 parent 8b22bc2 commit e2e0f69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pattern.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ impl MultiPattern {
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 {
self.cols
.iter()
Expand Down

0 comments on commit e2e0f69

Please sign in to comment.