boltex / leojs

Leo Literate Editor with Outline in Typescript
https://boltex.github.io/leojs/
MIT License
34 stars 2 forks source link

@files trying to read non-existent files output an error instead of silently handling with empty node. #115

Closed boltex closed 9 months ago

boltex commented 9 months ago

Missing files for @file on disk should just resolve to an empty node like so:

image

boltex commented 9 months ago

After looking for the problem by comparing with the original Leo: openFileHelper should not call g.es_exception for non existent file.

boltex commented 9 months ago

Fixed with #116