lite-xl/data
Francesco Abbate 708c2983ef 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-05-10 16:44:27 +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-05-10 16:44:27 +02:00
fonts Implement maximize/restore controls 2021-04-12 11:54:52 +02:00
plugins Introduce new plugin versioning tag mod-version 2021-05-05 22:38:29 +02:00
user Fix font size in initial user's config 2021-03-01 09:48:12 +01:00