Repository navigation
TinyEdit 0.7.2
中文
新增
- 打开大文件:超过 16 MB 的文件会在大文件模式中打开,几 GB 的日志和数据导出也一样,内容立刻显示,滚动流畅,内存占用不随文件变大。也可以用“文件 ▸ 以大文件方式打开…”打开任意文件。
- 跳到任意行,全文搜索(支持正则表达式),或者只显示匹配的行,双击一行回到它在文件中的位置。
- 正在写入的日志可以像
tail -f一样跟随末尾;只显示匹配行时,新写入的匹配行也会接着出现。 - 需要改几行时,选中后按回车编辑,可以撤销。保存前不会改动原文件,未保存的修改重启后还在。
- 选中一行 JSON(比如 JSON Lines 日志)在新标签页打开,会自动格式化。
- 在一个 1 GB、1100 万行的日志上实测:打开后 0.04 秒显示内容,1 秒内读完全文,全文搜索约 1 秒,内存约 20 MB。
- 查找支持正则表达式:点查找栏里的
.*打开,替换时可以用$1引用分组。 - 在 Finder 中新建文本文件:在访达窗口空白处右键,选择“用 TinyEdit 新建文本文件”,会打开一个新标签页,存储时文件放进那个文件夹。需先在 设置 ▸ 通用 ▸ 访达菜单 中按提示到系统设置里启用。
- Markdown 只看预览:打开 Markdown 预览后,点标题栏的展开按钮(或“显示 ▸ 仅显示 Markdown 预览”),预览会占满整个编辑区;按 Esc 回到编辑。
改进
- 在 Finder 中按空格预览大文件时,只读取开头部分,按下空格立刻就能看到。
- 文件大小不再限制在 64 MB:更大的文件在大文件模式中打开。
English
New
- Large files: files over 16 MB open in the large-file view, including logs and data exports of several gigabytes. Text appears at once, scrolling stays smooth, and memory use does not grow with the file. File ▸ Open as Large File… opens any file this way.
- Jump to any line, search the whole file (regular expressions too), or show only the matching lines and double-click one to see it in place.
- Follow a log that is still being written, like
tail -f; while only matching lines are shown, new matches keep appearing. - To change a few lines, select them and press Return, with undo. The file changes only when you save, and unsaved changes survive a relaunch.
- Open a line of JSON (from a JSON Lines log, say) in a new tab, and it is formatted.
- Measured on a 1 GB log of 11 million lines: text shows 0.04 s after opening, the whole file is read in under a second, a full search takes about a second, and memory stays around 20 MB.
- Regular expressions in Find: turn them on with
.*in the find bar; a replacement can refer to groups with$1. - New text file from Finder: right-click empty space in a Finder window and choose New Text File with TinyEdit. A new tab opens, and saving it puts the file in that folder. Turn it on first from Settings ▸ General ▸ Finder Menu, which opens the system setting.
- Markdown preview only: with the Markdown preview open, click the expand button in the title bar (or View ▸ Markdown Preview Only) and the preview fills the editor; press Esc to go back to editing.
Improved
- Pressing Space on a large file in Finder reads only its beginning, so the preview appears at once.
- Files are no longer limited to 64 MB: larger ones open in the large-file view.
安装 / Install
需要 macOS 14 或更高版本,支持 Apple 芯片(M 系列)和 Intel Mac。下载 TinyEdit-0.7.2.dmg,打开后将 TinyEdit 拖到“应用程序”文件夹。应用已使用 Developer ID 签名并经过 Apple 公证,可直接打开。
Requires macOS 14 or later, on an Apple silicon (M-series) or Intel Mac. Download TinyEdit-0.7.2.dmg, open it and drag TinyEdit into the Applications folder. The app is signed with a Developer ID and notarized by Apple, so it opens normally.
SHA-256 (TinyEdit-0.7.2.dmg):
3151580b87bd8ec152ec34a216fa4f97e30c81a3257cd959b39b67efa5923247