Jump to content
Sign in to follow this  
martin

SciTE V1.75 Tidy incorrectly (?) changes #EndRegion text

Recommended Posts

martin

Koda marks the gui design like this

#Region ### START Koda GUI section ### Form=q:\scite\addusercalltips.kxf
;gui desugn here
#EndRegion ### END Koda GUI section ###

Using the Tidy option inSciTE gives the output here

>"D:\Program Files\AutoIt3\SciTE\tidy\tidy.exe" "Q:\Scite\AddCallTips.au3"

Tidy AutoIt3 v2.0.23.11 Copyright © Jos van der Zande February 27, 2008

+> Tidy AutoIt3 finished. Original copied to:"q:\scite\BackUp\addcalltips_old11.au3"

>Exit code: 0 Time: 2.196

Now the endRegion line is changed from

#EndRegion ### END Koda GUI section ###

to

#EndRegion ### START Koda GUI section ### Form=q:\scite\addusercalltips.kxf

and Koda does not recognise that as the end of the region and so does not update the script.

I have tried setting the option in Tidy.ini as follows

Skip_Endregion_Comment=1

and I tried it =0 but no different.

Is there some option I have not noticed or not understood?


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites
Jos

There is a Caps error in the commandline test for this parameter in Tidy which is now fixed in the version available in the Beta directory.

You can use the short form for the parameter: /serc

I have also added a test to skip the copy of the comment from #region to #endregion when the current line contains "Koda".

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
martin

There is a Caps error in the commandline test for this parameter in Tidy which is now fixed in the version available in the Beta directory.

You can use the short form for the parameter: /serc

I have also added a test to skip the copy of the comment from #region to #endregion when the current line contains "Koda".

Jos

Thanks Jos, that fixes it. :)


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
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
Sign in to follow this  

×