Commit Graph
4 Commits
Author SHA1 Message Date
thzxx b613384030 修复:close超时保护、移除冗余变量、优化文件大小计算、去重formatBytes 2026-05-18 13:11:35 +08:00
thzxx cb29c67f94 全面优化:暗色主题、文件监听、未保存提醒、滚动同步、分屏记忆、文件大小显示、删除死代码 2026-05-18 13:09:31 +08:00
thzxx 76e1699ee7 fix: resolve critical issues found in code review
- Fix marked.js v12 code highlighting (removed deprecated highlight option, use custom renderer.code)
- Fix open-file race condition (handle file association before window ready)
- Fix Tab key undo history (use execCommand/setRangeText instead of direct value assignment)
- Fix drag-drop file path tracking (use IPC readFile instead of FileReader)
- Fix CSP security (remove unsafe-inline from script-src)
- Improve scroll sync (line-based instead of percentage-based)
- Deduplicate file open dialog logic
- Fix .gitignore duplicate entry
2026-05-18 10:46:22 +08:00
thzxx fda3e5987d Initial commit: MarkLite Markdown Reader 2026-05-18 10:40:11 +08:00