Error when using CTRL-Shift-C

If reporting a bug with the Zeus IDE please post the details here. Please do not post questions here.
Post Reply
aestes
Posts: 10
Joined: Mon Sep 21, 2015 6:14 pm

Error when using CTRL-Shift-C

Post by aestes »

I was editing a python program (are you starting to hate that line yet :)) and tried to comment out a block of code using Ctrl-Shift-C and received a "Zeus has detected an internal program error ..." message box. I tried to send the log and dmp file to support@zeusedit.com but it bounced with an "The e-mail address you entered couldn't be found' from postmaster@prdhosting.local.

In any event, the error only happens with Ctrl-Shift-C, it works fine if I use Macros|Tools|Add/Remove Comments. The log file points to an assert in ".\zfwscp01.cpp" (7664). Let me know if you want me to attach the dmp file here or try to send it to another email address.

Andy

p.s. I just tried this with as .c file and had the same error so it isn't limited to python.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Re: Error when using CTRL-Shift-C

Post by jussij »

Hi Andy,
I was editing a python program (are you starting to hate that line yet :))

You're keeping me busy, but I'm always happy to be fixing bugs ;)
I tried to send the log and dmp file to support@zeusedit.com but it bounced.

The e-mail display is obsolete and has been updated for the next release.

In an effort to replicate this issue used this simple test.py Python file:

Code: Select all

import zeus

def key_macro():
    zeus.screen_update_disable()
    zeus.write("Testing.....")
    zeus.EnterSmart()
    zeus.screen_update_enable()
    zeus.screen_update()

key_macro() # run the macro
Unfortunately for me typing in Ctrl-Shift-C multiple times, for a single line or a marker area works as expected :(

Code: Select all

Let me know if you want me to attach the dmp file here or try to send it to another email address.
Could you send it to info@zeusedit.com instead.

Those dump and log files should help locate the cause of the issue.

Cheers Jussi
aestes
Posts: 10
Joined: Mon Sep 21, 2015 6:14 pm

Re: Error when using CTRL-Shift-C

Post by aestes »

Thanks Jussi, email is on the way. I tried it again this morning with your python file and had the same error so I attached those files to the email also.

Andy
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Re: Error when using CTRL-Shift-C

Post by jussij »

Hi Andy,

Thanks for sending through the crash dump files.

This issue is caused by the choice of the CTRL-Shift-C keyboard binding used to run the macro :(

In the version of Zeus you are running, you can fix this by changing that binding, specifically not using the CTRL-C combination.

Alternatively you can use the pre-release of the next version of Zeus found here: http://www.zeusedit.com/z300/ze-beta.zip

That version has no such issues with using the the CTRL-C binding.

If you use the pre-release version just remember to backup your c:\program Files (x86)\Zeus folder.

Cheers Jussi
aestes
Posts: 10
Joined: Mon Sep 21, 2015 6:14 pm

Re: Error when using CTRL-Shift-C

Post by aestes »

Thanks Jussi, I will turn off the Ctrl-Shift-C mapping.

Andy
Post Reply