дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-06 18:17:15 +02:00
Selecting all text and typing left an extra empty line at the end: always for files without a final newline, and for files with one when the browser took more than 50 ms to apply the edit (the intermittent e2e/cornerInset.spec.ts failure). @codemirror/view 6.44's DOMReader read a line break after the only remaining line because its stale tile still had breakAfter set. The patch applies CodeMirror's upstream fix (view commit 45438ff87c), which only adds the break when content follows, until a release includes it. Co-authored-by: audichuang <[email protected]>