Commit Graph
9 Commits
Author SHA1 Message Date
thzxx 5ff89edd2b 清理:移除未使用的 openFiles IPC、优化 setModified 避免每次按键重建标签 DOM 2026-05-18 13:31:14 +08:00
thzxx 78f787a2db 新增多标签页支持:Ctrl+T 新建、Ctrl+W 关闭、Ctrl+Tab 切换、拖拽多文件打开 2026-05-18 13:28:45 +08:00
thzxx ffb925c690 修复:移除 startWatching 中残留的 isModifiedExternally 引用(运行时 ReferenceError) 2026-05-18 13:12:59 +08:00
thzxx b613384030 修复:close超时保护、移除冗余变量、优化文件大小计算、去重formatBytes 2026-05-18 13:11:35 +08:00
thzxx cb29c67f94 全面优化:暗色主题、文件监听、未保存提醒、滚动同步、分屏记忆、文件大小显示、删除死代码 2026-05-18 13:09:31 +08:00
thzxx 1d76a81ffa 移除原生菜单栏 2026-05-18 12:41:16 +08:00
thzxx c573266670 fix: resolve did-finish-load race condition, remove unused import
- Move did-finish-load listener before loadFile() to prevent missing the event
- Remove unused nativeImage import
2026-05-18 10:51:38 +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