feat: virtual scrolling with chunked buffer for large files
- Add ChunkedBuffer for 64KB chunked file access with dirty-chunk eviction protection - Add LineIndex for precise byte-offset-to-line-number mapping - Refactor IO task system with context cancellation, typed priorities, and new task types (ReadChunk, BuildLineIndex, StatFile) - Add ReadFileAt to FileSystem interface (mock + real implementations) - Integrate virtual scrolling into editor layout - Add comprehensive tests for chunked buffer eviction, dirty-chunk safety, and full edit lifecycle
This commit is contained in:
+40
@@ -18,3 +18,43 @@ pad
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Syncthing
|
||||
.stfolder/
|
||||
|
||||
# Go test cache
|
||||
*.test
|
||||
*.out
|
||||
|
||||
# build files
|
||||
*.apk
|
||||
*.idsig
|
||||
pad
|
||||
|
||||
# IDE
|
||||
.idea/
|
||||
.vscode/
|
||||
|
||||
# OS files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Syncthing
|
||||
.stfolder/
|
||||
|
||||
# Go test cache
|
||||
*.test
|
||||
*.out
|
||||
|
||||
# build files
|
||||
*.apk
|
||||
*.idsig
|
||||
pad
|
||||
|
||||
# IDE
|
||||
.idea/
|
||||
.vscode/
|
||||
|
||||
# OS files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
|
||||
Reference in New Issue
Block a user