continue-custom/extensions
Dallin Romney 5a8d10fff4
fix: resolve crashes in DiffStreamHandler — unsafe cast and negative line numbers (#11893)
* fix: resolve crashes in DiffStreamHandler — unsafe cast and negative line numbers

- Use safe cast (as?) for TextEditor in undoChanges() to prevent ClassCastException
- Add early return for empty documents and clamp line numbers to prevent IndexOutOfBoundsException in initUnfinishedRangeHighlights()
- Remove redundant .toList() call in rejectAll()

Fixes #4267

* refactor: inline lineNum variable in initUnfinishedRangeHighlights
2026-03-26 14:28:11 -07:00
..
cli fix: resolve critical and high security vulnerabilities (#11848) 2026-03-26 10:46:44 -07:00
intellij fix: resolve crashes in DiffStreamHandler — unsafe cast and negative line numbers (#11893) 2026-03-26 14:28:11 -07:00
vscode vscode 1.3.36 (#11898) 2026-03-26 12:03:24 -07:00