v0.1.33
What's new
Fixed
-
The file viewer no longer opens an empty panel. ⌘-clicking a path — or
clicking a file in a pane's file tree — could open a peek that showed the
filename, the path and the Open in ▾ button, but nothing at all where the
file's contents should be. It looked like the viewer was broken; usually there
was simply nothing to draw.A peek now always tells you what happened:
- an empty file says "This file is empty"
- a file whose contents couldn't be read says so, with how many bytes were
actually available — the case that matters for files stored in the cloud and
not yet downloaded, which look completely normal in the file tree - a file with no readable text says that too
Syntax highlighting also got sturdier: if the highlighter returns nothing
usable, the peek falls back to showing the file's plain text instead of
showing you an empty panel.