Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(error-handling): ensure correct line range calculation in ErrorMe…
…ssageProcessor Previously, the line range calculation in `ErrorMessageProcessor` could result in incorrect offsets when `lineTo` was not specified or when it exceeded the number of lines in the document. This commit fixes the issue by introducing a new calculation that takes into account the presence and validity of `lineTo`, ensuring that the text range is always correctly determined.
- Loading branch information