Open hurzl opened 2 months ago
open command line arg as file
Yes, this sounds very useful.
on "Open File" start in current directory (where I started typstwriter)
Since a42d1747bd943888f9129025bf7cd8e9aeb287fd the "Open File" dialog starts at the typstwriter internal working directory which is a behavior I think I would like to keep since it could be quite confusing if one navigates to a different directory inside the application but "Open File" still uses the original directory.
It is worth a thought to set the working directory to the current directory where typstwriter was started in however. There is a potential conflict with the working_directory
config entry tough so we could either only set the working directory to the cli current directory if the working_directory
config entry is not set or use a cli flag.
Yes if working_directory
is undefined would be enough.
And if I can open via command line it's also fine.
And if it could remember the recent files, but I get:
util.py read line 108 : Could not read file '/home/XXX/.config/typstwriter/recentFiles.txt'.
...
util.py write line 117 : Could not write file '/home/XXX/.config/typstwriter/recentFiles.txt'
The directory is not created.
And if it could remember the recent files, but I get:
util.py read line 108 : Could not read file '/home/XXX/.config/typstwriter/recentFiles.txt'. ... util.py write line 117 : Could not write file '/home/XXX/.config/typstwriter/recentFiles.txt'
The directory is not created.
Thanks a lot for reporting this bug, it should now be resolved by #31.
open command line arg as file
This feature is now implemented by #32.
Please