We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
when.line_matcher
_matches_when()
1 parent dc90696 commit ec59c87Copy full SHA for ec59c87
src/cedarscript_editor/case_filter.py
@@ -82,6 +82,8 @@ def _matches_when(line: str, when: CaseWhen, indent_level: int, line_num: int) -
82
return True
83
if when.indent_level is not None and indent_level == when.indent_level:
84
85
+ if when.line_matcher and stripped == when.line_matcher.strip():
86
+ return True
87
if when.line_number is not None and line_num == when.line_number:
88
89
return False
0 commit comments