Jump to content

Recommended Posts

  • Developers
Posted
  On 7/29/2022 at 10:33 PM, miha04 said:

HI ,I am not sure where i should report the issue i am facint but whenever i run tidy it seems to create alot of output and be stuck in high cpu usage and not finish

Expand  

Provide me with the script so I can replicate this problem so I can have a look and debug the issue. ;) 

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.
  :)

Posted
  On 7/30/2022 at 7:29 AM, Jos said:

Provide me with the script so I can replicate this problem so I can have a look and debug the issue. ;) 

Jos

Expand  

The issue reproduced even on a new script template , attached the scite output inside an archive (rar4) since the txt is over 20mb

Seems that after i stop executing (ctrl+break) the issue fixed itself , tidy works as before i updated to latest autoit version (previously 3.3.14.5) , i was killing the process in task manager instead to try stoping it via scite.. :sweating:

New Text Document.rarFetching info...

  • 3 weeks later...
Posted (edited)
  On 7/29/2022 at 10:33 PM, miha04 said:

I am using the current versions of autoit and scite4autoit
Autoit v3.3.16.0  6 -3-2022  SciTE4AutoIt3  16-3-2021
Windows 7 Ultimate SP1 x64

Expand  

According to my notes AutoIt should not be installed on top of an existing AutoIt installation so I have been waiting patiently for a Scite4AutoIt update since June 2020. I just discovered in the forum that Jon has released 3.3.16.0. @JosAre my notes incorrect? Can I install Jon's 3.3.16.0 on top of my SciTE4AutoIt3.3.14.5_2019.11.27 installation without issue?

Edited by pseakins
Ref to @jos wasn't active. Wording.

Phil Seakins

  • Developers
Posted (edited)
  On 8/21/2022 at 1:54 AM, pseakins said:

so I have been waiting patiently for a Scite4AutoIt update since June 2020

Expand  

Not sure what you are waiting for, but there is an update available since:

  Quote

SciTE4AutoIt3 News

Updated SciTE4AutoIt3 installer including SciTE 4.4.6 (February 15, 2021).

Expand  

 

  On 8/21/2022 at 1:54 AM, pseakins said:

Can I install Jon's 3.3.16.0 on top of my SciTE4AutoIt3.3.14.5_2019.11.27 installation without issue?

Expand  

Yes you can as SciTE4AutoIt3 is independent of the AutoIt3 version, the only thing that needs to be correct are the properties files that came with the latest version of AutoIt3. :) 

I currently have an SciTE v 5.2.3 Test version available for the MVP, whom are extensively testing it and supplying me with loads of feedback. This version will include some major lua functionality changes too for AutoComplete and Automatically add required Include files while typing.

Jos

Edited by 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.
  :)

Posted (edited)

I have had a permanent scan running on visualping.io looking for changes on https://www.autoitscript.com/site/autoit-script-editor/ waiting for an update and so far I have not had an alert. Somehow I missed the February 15, 2021 change.

  Quote

 functionality changes too for AutoComplete and Automatically add required Include files while typing.

Expand  

Sounds good.

Edited by pseakins
changed visualping.com to visualping.io

Phil Seakins

Posted (edited)
  On 8/21/2022 at 2:53 PM, pseakins said:

I have had a permanent scan running on visualping.com looking for changes on https://www.autoitscript.com/site/autoit-script-editor/ waiting for an update

Expand  

You should also scan:

https://www.autoitscript.com/autoit3/scite/download/beta_SciTE4AutoIt3

 

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • 1 month later...
Posted

Hi Jos,

installed the latest SciTE (with all Beta releases) after upgrading to AU v.3.3.16.1, thanks for all the work you put into it!

One request, could you please make to "Compile" button on the compile dialog default again? Currently the default button is "Run", for which there's also "Go" or F5.

Regards

Karsten

  • Developers
Posted (edited)
  On 9/28/2022 at 8:59 AM, KaFu said:

One request, could you please make to "Compile" button on the compile dialog default again? Currently the default button is "Run", for which there's also "Go" or F5.

Expand  

mmm...   not sure anymore why I made RUN the default. Have changed that to Compile as this is the "Compile with options" task in the current Beta. 

Edited by 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.
  :)

  • 3 weeks later...
Posted (edited)

I just get PopUp message:

Error: EndUpdateResource: Returncode = 0 - LastError:1359:Wystąpił błąd wewnętrzny.

Is there a way to disable the PopUp and only get error in console ?

Edited by mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • Developers
Posted (edited)
  On 10/18/2022 at 12:07 PM, mLipok said:

Is there a way to disable the PopUp and only get error in console ?

Expand  

Just comment line 1956 in autoit3wrapper.au3. I will do the same for the next release as the error is already shown in the console.

Edited by 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.
  :)

Posted

It would be great, if the indention Tidy applies to text following #cs could be tab +1.

#cs is automatically indented to the current indention level.

This is how it is currently looking like after a Tidy run:

For $i = 0 To 10
    For $i = 0 To 10
        For $i = 0 To 10
            MsgBox(0, "", 1)
            MsgBox(0, "", 1)
            #cs
MsgBox(0, "", 1)
            #ce
            MsgBox(0, "", 1)
            MsgBox(0, "", 1)
        Next
    Next
Next

and it would be great if it could look like this:

For $i = 0 To 10
    For $i = 0 To 10
        For $i = 0 To 10
            MsgBox(0, "", 1)
            MsgBox(0, "", 1)
            #cs
                MsgBox(0, "", 1)
            #ce
            MsgBox(0, "", 1)
            MsgBox(0, "", 1)
        Next
    Next
Next

Much appreciated!

  • Developers
Posted
  On 10/25/2022 at 4:04 PM, KaFu said:

and it would be great if it could look like this:

Expand  

You mean like this?? :

#Tidy_Parameters = /tcb
For $i = 0 To 10
    For $i = 0 To 10
        For $i = 0 To 10
            MsgBox(0, "", 1)
            MsgBox(0, "", 1)
            #cs
                MsgBox(0, "", 1)
            #ce
            MsgBox(0, "", 1)
            MsgBox(0, "", 1)
        Next
    Next
Next

;) 

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.
  :)

Posted

Ah, didn't see that, "/tcb" behavior was default in the old version I used.

I've added it to Tiny.ini in the AppData dir.

[ProgramSettings]
Tidy_commentblock=1

But that, and also the script parameter

#Tidy_Parameters = /tcb

throws an error for me on this comment (which goes unnoticed without /tcb).

For $i = 0 To 10
    For $i = 0 To 10
        For $i = 0 To 10
            MsgBox(0, "", 1)
            MsgBox(0, "", 1)
            #cs
If($a_CropImage_Last_Selection_Rectangle[0] * $iScale) + ($a_CropImage_Last_Selection_Rectangle[2] * $iScale) <= $iImageWidth_Display And _
($a_CropImage_Last_Selection_Rectangle[1] * $iScale) + ($a_CropImage_Last_Selection_Rectangle[3] * $iScale) <= $iImageHeight_Display Then
            #ce
            MsgBox(0, "", 1)
            MsgBox(0, "", 1)
        Next
    Next
Next

 

  • Developers
Posted (edited)
  On 10/25/2022 at 10:21 PM, KaFu said:

throws an error for me on this comment (which goes unnoticed without /tcb).

Expand  

Correct because it also tried to tidy inside the commentblock and then it is missing an EndIf.

  On 10/25/2022 at 10:21 PM, KaFu said:

Ah, didn't see that, "/tcb" behavior was default in the old version I used.

Expand  

I think you are right that it used to do that but I encountered several issues with that behavior so removed the /tcb=0 behavior. Don't remember the exact details anymore but will have a look to see if my last couple of changes are causing this. 
Which version are you running?

Edited by 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.
  :)

  • Developers
Posted (edited)
  On 10/26/2022 at 8:29 AM, KaFu said:

I guess the most recent,22.611.2153.2.

Expand  

Could you give the Current Tidy v22.611.2153.3 a try from the Beta downloads?
It has a bunch of fixes/changes all related to /tcb.

Edited by 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.
  :)

Posted (edited)

Sadly still an error

  Quote

>Running Tidy (22.611.2153.3)  from:C:\Program Files (x86)\AutoIt3\SciTE\tidy  C:\_Data\!_Keep\BIC - Batch-Image-Cropper - v2\BIC - Batch-Image-Cropper_v2_0_2_8.au3
"C:\_Data\!_Keep\BIC - Batch-Image-Cropper - v2\BIC - Batch-Image-Cropper_v2_0_2_8.au3"(1562) : ### Tidy Error-> "else" is closing previous "#cs" on line 1561
"C:\_Data\!_Keep\BIC - Batch-Image-Cropper - v2\BIC - Batch-Image-Cropper_v2_0_2_8.au3"(1564) : ### Tidy Error-> "endif" is closing previous "#cs" on line 1561
!> there were  2 error(s) encountered. look in your source for:### Tidy Error:
!>19:51:33 Tidy ended. rc:2

Expand  

with this comment block

#cs
Else
_ConsoleWrite("! Last selection not re-applied:" & @TAB & $iRectangleLeft & "x" & $iRectangleTop & @TAB & $iRectangleWidth & "x" & $iRectangleHeight & @CRLF)
EndIf
            #ce

 

Edit:

Only happens when I have this in Tidy.ini

[ProgramSettings]
Tidy_commentblock=1

Strangely enough it does not happen without it, BUT the comment block is indented correctly?!

#cs
                Else
                _ConsoleWrite("! Last selection not re-applied:" & @TAB & $iRectangleLeft & "x" & $iRectangleTop & @TAB & $iRectangleWidth & "x" & $iRectangleHeight & @CRLF)
                EndIf
            #ce

 

Edited by KaFu
  • Developers
Posted (edited)

When you put tcb to 1, it expect valid code to tidy in the comment lock ...hence the error....  Right?

Tcb or tcb=0 will onli indent the whole comment block without further processing the code.

Edited by 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.
  :)

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
  • Recently Browsing   0 members

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