Lite XL 2.0.5
This new release fixes some outstanding problem with the directory monitoring and add some minor improvements.
Improved project's module
Now any modification to the project's module is immediately applied when the file is saved.
This is very useful to configure a config.ignore_files
and have an immediate feedback.
As an additional improvement, now when reloading the project's module, we check again if the project fits within the maximum number of files and the application acts accordingly.
This means that if a project exceeds the max project files limit and we act by ignoring some large directories we immediately get back the usual behavior with all the project files indexed and easily reachable.
To be also more beginner friendly now, when creating a new project's module, we propose a template with some useful instructions.
Ignore files on path
Until now the ìgnore_files`mechanism was limited to the name of the file or directory and it was not possible to look at its path within the project folder.
We solved the problem by implementing two new mechanisms inspired by gitignore.
Essentially there are two new rules:
- if a '/' or a '/$' appear at the end of the pattern it will match only directories
- if a '/' appears anywhere in the pattern except at the end the pattern will be
applied to the path
In the first case, when the pattern corresponds to a directory, a '/' will be
appended to the name of the directory before checking the pattern.
In the second case, when the pattern corresponds to a path, the complete path of
the file or directory will be used with an initial '/' for the project's root.
The new mechanisms are backward compatible so existing project's module should work as before.
Directory Monitoring Fixes
Fix several problems with the directory monitoring library.
Now the application should no longer assert when some related system call fails and we fallback to rescan when an error happens.
On linux we no longer use the recursive monitoring which was a source of problem.
Directory monitoring is now aware of symlinks and treat them appropriately.
Fix problem when encountering special files type on linux.
Improve directory monitoring so that the related thread actually waits without using
any CPU time when there are no events.
Project Change Improvements
Improve the suggestion when changing project folder or opening a new one.
Now the previously used directory are suggested but if the path is changed the actual existing directories that match the pattern are suggested.
In addition always use the text entered in the command view even if a suggested entry is highlighted.
With the new implementation it is to switch to a recently used project but you can also navigate the filesystem to easily find any directory.
NagView Improvements
The NagView warning window now no longer moves the documents' content.
The message is now completely drawn over the existing content to be less intrusive.