lite-xl/data
Francesco Abbate 527b11029e Create new document if file doesn't exist
If a non-existing file is specified with the command "core:open-file"
a new document is opened with the given filename provided the directory
already exists.

The flag new_file is set to true in the Doc instance.

The file will be actually created only when the "save" command is used.

The document will be marked with the "*" event when no changes are done
to mean that it is a new file and is not yet saved.

The function common.normalize_path now process the .. and . in the
filename. Before was not needed because system.absolute_path already
get rid of them but now we need to have the absolute path of files
that not yet exists so we cannot use system.absolute_path.
2021-06-04 16:03:46 +02:00
..
colors Implement user's config as init file and add directory into package.path 2020-12-02 16:03:31 +01:00
core Create new document if file doesn't exist 2021-06-04 16:03:46 +02:00
fonts Use FiraSans regular for UI 2021-05-27 13:49:33 +02:00
plugins Do not save log views in session file 2021-06-04 14:42:08 +02:00