1. WEE: Request for Last Open Files
- Posted by euphoric (admin) Apr 16, 2015
- 1376 views
One more request!
When I open WEE, have it open the files that were open when I last closed it.
Thank you!
2. Re: WEE: Request for Last Open Files
- Posted by PeteE Apr 17, 2015
- 1354 views
Ok. I pushed version .28 with this feature. It is so dang useful, I wish I had implemented it long ago.
3. Re: WEE: Request for Last Open Files
- Posted by euphoric (admin) Apr 17, 2015
- 1345 views
Ok. I pushed version .28 with this feature. It is so dang useful, I wish I had implemented it long ago.
Woo hoo! Thanks! I might start using WEE more often. haha. (I use it almost exclusively now.)
4. Re: WEE: Request for Last Open Files
- Posted by euphoric (admin) Apr 17, 2015
- 1331 views
Ok. I pushed version .28 with this feature. It is so dang useful, I wish I had implemented it long ago.
This version doesn't seem to be opening the files I had open upon last close. I'm guessing we're on the same page about this functionality.
Whatever files I had open last time I closed WEE, those files should be open when I restart WEE. And if I have no files open, it can just open with a blank new file.
My interpreted is opening with "wee.ex" and a blank file. The compiled just opens with a blank file.
Thanks!
It's an option setting. I didn't realize. I'll test it out!
5. Re: WEE: Request for Last Open Files
- Posted by evanmars Apr 17, 2015
- 1332 views
When I check "Reopen tabs next time", not only do my tabs not reopen, but all my color settings are reset.
6. Re: WEE: Request for Last Open Files
- Posted by euphoric (admin) Apr 17, 2015
- 1330 views
When I check "Reopen tabs next time", not only do my tabs not reopen, but all my color settings are reset.
I get the same non-functioning/malfunctioning behavior of the "Reopen tabs next time," but I haven't changed my color settings, so that I can't confirm or deny.
7. Re: WEE: Request for Last Open Files
- Posted by evanmars Apr 17, 2015
- 1338 views
And it no longer shows line numbers...
8. Re: WEE: Request for Last Open Files
- Posted by PeteE Apr 17, 2015
- 1308 views
I didn't test on Windows, looks like a bug... hang on.
Edit: it's crashing during save_wee_conf, which is called after WinMain exits and all of the scintilla controls have been destroyed. The fix for this is to move the call to save_wee_conf to here:
elsif iMsg = WM_DESTROY then c_proc(PostQuitMessage, {0}) get_window_size() save_wee_conf(wee_conf_filename) return rc
But now value() is having trouble parsing the backslashes in the stored filename inside {"C:\filename", 1234, 123}. I'll have to store the filenames separately.
9. Re: WEE: Request for Last Open Files
- Posted by euphoric (admin) Apr 17, 2015
- 1318 views
I didn't test on Windows, looks like a bug... hang on.
Looks like it's killing the options upon closing. Line numbering and font is at least affected.
It would be nice if the last selected open file was also selected upon opening.
ADD: And don't open a "New File" unless one was opened on last close. <-- this isn't important if the last selected file is selected upon restart
10. Re: WEE: Request for Last Open Files
- Posted by PeteE Apr 17, 2015
- 1341 views
Fix pushed, version .29. Really sorry about losing the configuration file with that one.
11. Re: WEE: Request for Last Open Files
- Posted by euphoric (admin) Apr 17, 2015
- 1334 views
Fix pushed, version .29. Really sorry about losing the configuration file with that one.
Lookin' good! Thanks!
12. Re: WEE: Request for Last Open Files
- Posted by evanmars Apr 20, 2015
- 1289 views
Looking good!
I noticed that "allocate" wasn't colored according to the color setting for built-ins.
I added: {"function","allocate","integer",0},
to parser.e at line 1377. Seems to work.
13. Re: WEE: Request for Last Open Files
- Posted by jimcbrown (admin) Apr 20, 2015
- 1301 views
Looking good!
I noticed that "allocate" wasn't colored according to the color setting for built-ins.
I added: {"function","allocate","integer",0},
to parser.e at line 1377. Seems to work.
allocate is not a builtin.
14. Re: WEE: Request for Last Open Files
- Posted by evanmars Apr 20, 2015
- 1307 views
Now for more requests!
I second euphoric's request to reopen any files that were open when WEE was shut down.- The ability to bold keywords, built-ins, etc.
- The ability to add a custom list or lists of words, which can be colored/bolded.
I like to have the ability to make function calls and constants of whatever library I'm using stand out.
15. Re: WEE: Request for Last Open Files
- Posted by evanmars Apr 20, 2015
- 1304 views
Looking good!
I noticed that "allocate" wasn't colored according to the color setting for built-ins.
I added: {"function","allocate","integer",0},
to parser.e at line 1377. Seems to work.
allocate is not a builtin.
Oops. My bad. I was assuming that since peek, poke, mem_set, mem_copy were built-ins, so was allocate.
I retract my "correction."