Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jan 3, 2016 17:05:09 GMT -5
I just upgraded from release 8.1.4311 to 8.3.5337. When I issue the command save;end;exit , the exit command is not executed. The commands did work in the previous release. Please advise.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jan 3, 2016 18:17:46 GMT -5
I edit a member, save it, end the editing, and then exit to go do something else.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jan 4, 2016 14:11:51 GMT -5
Thx. My profile is set to AUTOSAVE OFF PROMPT. That's the default when SPFLite was installed. I like it that way because I found when I was figuring out how to use the product, an s would work like an e and I wanted that extra safety when I was using SPFLite to look at other files. SPFLite would tell me when I had accidentially made a change and I knew to issue the cancel. On old trick I used when I was a Systems Programmer.
FYI. I discovered a problem with the insert line command. Again, it worked in 8.1.4311 but not after the upgrade. When I do an edit of a file, there are times when I want to insert lines. I type the i command and get a new line. I can type that line and press enter to get another line. That's the way it had worked in the back release. Now it takes the inserted line and that's all. I have to do the i command again to continue inserting lines.
|
|
|
Post by George on Jan 5, 2016 12:25:18 GMT -5
Hi, OK, I understand the need for SAVE;END as I do that myself (Have a key programmed). I don't like running in AUTOSAVE YES mode, I'll SAVE it myself thank you, when I want it. I use the key when editing a single file and I don't want that file auto-opened next time I start SPFLite. Just checked my KEYMAP and guess what, I have it set to SAVE;END;EXIT - of course the EXIT doesn't work never noticed that.
Yes, I know I could also have said EXIT NOREOPEN but ....
As to the command chaining, this is a long standing problem/restriction. Command chaining does NOT go cross tab. Meaning that once you have an END command present (or anything else that closes the tab), anything chained after that is ignored.
This is because SPFLite tabs are not run in some multi-thread mode under an overall tab manager, which could supervise chaining properly. All tabs, when running, are the only thing running, and without some clever coding, have no access to other tabs data areas. I've looked at supporting this in the past, but opening that door is a truly big can of worms.
George
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jan 5, 2016 12:40:46 GMT -5
Thx for the reply. Did you look at the other concern I mentioned? Typing an s command instead of an e will do an edit? I didn't find that command listed in any command list yet it works as described. Did I find a bug or an undocumented command?
|
|
|
Post by George on Jan 5, 2016 12:54:00 GMT -5
Totally missed that bug report. Sure enough, it's broken, I did a fix in that area just a while ago, have to re-visit the code and see what I mucked up. One of those fix A - Break B; Fix B - Break C .... - well, I sure hope not.
As to the S assuming E in File Manager. You can use the DEFAULT command to alter that default action to Browse or View if more appropriate.
Meanwhile, I'll go look at the 'I' command idiocy. Looks like some change in 8.3.5295 was made, probably broke back then.
George
Update: Corrected, will be in the next release.
George
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jan 5, 2016 13:07:19 GMT -5
Thx for the update.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jan 5, 2016 14:34:26 GMT -5
Found another one. When editing, I do hex on to look at the hex and/or make changes. When I'm done, I'll do hex off ... and abend.
|
|
|
Post by George on Jan 5, 2016 14:37:31 GMT -5
Robert: With the correction I put in, CLONE will ALWAYS open an Edit session. Clone will only create EDIT sessions since it's whole purpose is to replicate the file. Sure, you can choose to use the *.filetype session as Browse or View if all you want/need is another viewpoint into the file, then CANCEL out later.
BTW, I have to check one thing out, CLONE with no operands is supposed to open the File Open dialog with it pointing at the current file - it doesn't right now. Sigh! Always something.
George
|
|
|
Post by George on Jan 5, 2016 14:41:23 GMT -5
iprefer432: Must be more to the Hex On/Off abend, I cannot replicate this at all. Did you do it with simultaneous line commands perhaps? Shouldn't make a difference, but I need something to look at. All the HEX ON/OFF command itself does is flipflop a switch.
George
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jan 5, 2016 14:58:52 GMT -5
I'm trying to get a copy of the abend messages for you. I'll continue to study.
|
|
|
Post by George on Jan 6, 2016 11:32:57 GMT -5
Robert: It would seem simple, but as usual, it's the under the covers stuff that gets in the way. Whether a file is opened for Edit, Browse or View, a FileWatch is established. Attempting to open a file for Browse while it's open for Edit would trigger multiple file watch processing. The whole logic for posting a change event to the tab falls apart when multiple tabs get involved.
George
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jan 6, 2016 16:28:10 GMT -5
Sorry for the delay. Physical problems.
I edit or browse a file. One of mine or any other. I do a hex on to look at it. If it's mine and I want to make changes, I do. I do a save. Old habit. Then I do a hex off. An error. I've tried on a browse and get the same error. The error code is C000005. (I'm typing this from memory.) It goes into a loop then after I click on the OK, SPFLite terminates.
I want to send you a screen print but having no luck.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jan 6, 2016 17:07:04 GMT -5
I'm having problems. I sent the screen print via email. Sorry about that. Windows 10 can be difficult.
|
|
|
Post by George on Jan 7, 2016 12:50:28 GMT -5
iprefer432: Got the email, and asked you for a couple of your config files to play with. I have simply not been able to duplicate this crash no matter how I play around with things. George
Update: Thanks for the files. I've sent you a corrected version via email. Cause was an error in the code for the HLine/VLine cursor drawing. The calculation for vertical lines wasn't handling the change in # of lines on the screen too well when switching between HEX ON and OFF modes.
George
|
|