08-29-2022, 09:53 PM
Thank you for this. It works on Linux almost without changing anything, and in 64-bit.
The thing is I'm very lame about typing in full paths and I don't often have text files needed to be edited in the same directory as the executable. So I added to it to use "FileSelect$()" function which is documented here:
https://staging.qb64phoenix.com/showthread.php?tid=264
How I added to it is easy, but if a few people request it then I could post it.
Alternatively, I could have supported a special entry for input filename so it pastes from the clipboard. However, getting a full path into the clipboard could be troublesome on Linux for some reason...
The thing is I'm very lame about typing in full paths and I don't often have text files needed to be edited in the same directory as the executable. So I added to it to use "FileSelect$()" function which is documented here:
https://staging.qb64phoenix.com/showthread.php?tid=264
How I added to it is easy, but if a few people request it then I could post it.
Alternatively, I could have supported a special entry for input filename so it pastes from the clipboard. However, getting a full path into the clipboard could be troublesome on Linux for some reason...