Jump to content

Possible Bug In New Version 3.3.7?


Palmerj
 Share

Recommended Posts

Hello,

Just updated to version 3.3.7 and noticed a peculiar behavior when compiling AutoIt scripts. If I create a test file and save it with a file name of "MyTest.au3" the inline errors work. However, if I save the same script with a name like "My_Test.au3" the inline errors no longer work. In fact, renaming the file and removing the underscore does not fix the problem. Seems that, once triggered, the issue follows the script no matter what the name is. The only way to fix it is by creating a new file and copying the source code from the broken script, then saving with a new name that does not contain an underscore.

Has anyone experienced this issue?

Here is the code I'm using to test.

; A codefull of errors
Local $MyVar = "This syntax is wrong
MsgBox(0,"Test Box", $MyVar)
Msg Box(0, "Test Box", $MyVar
Link to comment
Share on other sites

  • Developers

What happens when you close my_test.au3 and then open it again?

Does it then work again?

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

The problem remains even when the name is corrected.

I should mention that I'm using the Bespin color configuration which I downloaded today.

I've attached a couple of screen shots. The first one (see good.jpg) shows a script named "Error_Test.au3". As you can see, the inline errors work when I try to run using F5.

post-66547-0-97201300-1390436405_thumb.j

I then went ahead and saved it as "Error_Test v2.exe" (space between Test and v2) and it no longer works (see bad.jpg).

post-66547-0-90858500-1390436423_thumb.j

At first I thought it might be caused by the underscore, but now I'm thinking it might be the space in the name.

Thanks.

Edited by Palmerj
Link to comment
Share on other sites

  • Developers

I see the same thing happening, but it clears when i either click on another open file tab and then go back to the renamed file, or close the renamed file in scite and open it again.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

OK. I am getting the same results; clicking on another tab clears it. If I do a "save as" with a different name, the problem returns.

My first suspicion that it was related to the file name was incorrect.

Looks like a minor bug. Still, it might be a good idea to add it to the list of pending corrections for the next release.

Thanks for looking into it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...