LiteEdit v1.1.3
Bug Fixes
- Large-file syntax highlighting — Files over 100k characters (e.g. a 150k-line markdown file) no longer freeze on open. Highlighting is now viewport-only with scroll-triggered lazy rehighlight and a 3k-char buffer for smooth scrolling. Small files still get full upfront highlighting.
- Markdown live formatting — Editing a markdown file now rehighlights the entire visible range on each keystroke (not just the cursor's line), so headings, bold, lists, and other formatting update immediately on surrounding lines as you type.
- Tab-switch viewport restoration — Switching back to a tab now restores the exact scroll viewport (first and last visible lines), not just the cursor position. Fixed by ensuring full document layout before restoring the saved scroll offset.
Performance
- Scroll-triggered highlighting with 30ms debounce ensures newly scrolled-to text is colored on the fly without blocking the UI, even in very large files.
Install note
If macOS shows "LiteEdit is damaged and can't be opened" after downloading the DMG, run:
xattr -rd com.apple.quarantine /Applications/LiteEdit.appOr install via Homebrew to skip this entirely:
brew install --cask lite-edit
Full Changelog: v1.1.2...v1.1.3