boltex / leojs

Leo Literate Editor with Outline in Typescript
MIT License
23 stars 0 forks source link

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

Closed boltex closed 4 months ago

boltex commented 4 months ago

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

image

boltex commented 4 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 4 months ago

Fixed with #116