(text: str, offset: int)
| 1027 | |
| 1028 | |
| 1029 | def _line_number_from_offset(text: str, offset: int) -> int: |
| 1030 | return text.count("\n", 0, offset) + 1 |
| 1031 | |
| 1032 | |
| 1033 | def _formula_snippet(content: str, limit: int = 120) -> str: |
no outgoing calls
no test coverage detected