Sign in to follow this  
Followers 0
Jos

New SciTE4AutoIt3 available with SciTE v3.20

11 posts in this topic

#1 ·  Posted (edited)

6/10/2012: Uploaded a new SciTE4AutoIt3.exe installer with the new SciTE v3.20 release.

There are a couple of major changes:

- Updated our version of SciTE from 2.28 to 3.20.
My Changes to this version:
- Support for "(" in filenames on error lines to fix the issue that double clicking these error lines wouldn't work.
- Jump to Line and Column now when double clicking the error from au3Check.
- Fold in Commentblocks fixes for the AU3 lexer.
- Word Highlighting modifications:
highlight.current.word=1
highlight.current.word.by.style=1
highlight.current.word.colour=#00D040
#~ highlight.current.word.autoselectword=1
#~ highlight.current.word.wholeword=1
#~ highlight.current.word.matchcase=1
#~ highlight.current.word.minlength=2
- Made a workaround in AutoIt3Wrapper to allow au3check on UTF files.
- Many changes towards portability in AutoIt3Wrapper.
- Included SciTE Jump.
- Changed the Abbrev setup.
**** Important: When you currently have your own definitions in abbrev.properties you need to copy them back from abbrev.save.properties as the installer will override abbrev.properties!

Enjoy,

Jos

Addition/Changes/Fixes in the current installer:

--------------------------------------------------------------------------------------------------
6/10/2012
*** Merged the updates of SciTE v 3.20 by Neil Hodgson with our own version of SciTE. (Jos)
*** Added following to SciTE:
    - Support for "(" in filenames on error lines to fix the issue were double clicking these error lines wouldn't work.
    - Jump to Line and Column now when double clicking the error from au3Check.
    - Fold in Commentblocks fixes for the AU3 lexer.
    - Word Highlighting modifications:
        #Standard SciTE options
        highlight.current.word=1
        highlight.current.word.by.style=1
        highlight.current.word.colour=#00D040
        #Added Options:
        #~ highlight.current.word.autoselectword=1
        #~ highlight.current.word.wholeword=1
        #~ highlight.current.word.matchcase=1
        #~ highlight.current.word.minlength=2
    - CallTip modifications (Idea LaCastiglione) :
        # Display the calltip above the function
        calltips.set.above=0
        # Set the fore and back color of the calltip window
        style.au3.38=fore:#050505,back:#FFFFFF
        # Set the highlight color of the function argument
        calltips.color.highlight=#FF0000
*** Updated Tidy v2.2.2.0 (Jos)
    - Added option /End_With_NewLine or /ewnl.
    - Only update the source file and create backup when there were actually changes made.
*** Updated SciTEConfig v1.7.0.0
    - Added check for SciTE_HOME environment and use that when defined like SciTE does.
    - Fixed bug with "Check for Updates" button showing a color picking window.
    - Recoded most of the internals to store all updates to SciTEUser.properties avoiding the need for admin mode for these changes.
*** Updated AutoIt3Wrapper_Gui/AutoIt3Wrapper v2.1.1.0 (Jos)
    - Added restart option for running scripts.
    - Added automation for displaying inline errors in SciTE for AU3Check and Tidy.
    - Added /NoStatus commandline option to suppress the Progress window.
    - Fixed Version information in the GUI when BETA was selected.
*** Updated Obfuscator.exe v1.0.30.1 (Jos)
    - Added /MergeOnly or /MO which just stripts the comments and merges the continuationlines.
     This simulates what aut2exe does andt he linenumbers should be te same in case you get an AutoIt3 error.
    - Fixed bug stripping continuationlines that contained used variables.
    - Several minor issues fixed.
*** Discontinued FuncPopup due to lack of development.
*** Discontinued AutoItMacroGenerator due to lack of development.
--------------------------------------------------------------------------------------------------

==> ScitillaHistory page containing all SciTE/Scintilla updates.

==> Visit the SciTE4AutoIt3 Download page for the latest versions

==> Check the online documentationfor an overview of all extra's you get with this installer.

Edited by Jos
removed some wording

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

Share this post


Link to post
Share on other sites



I don't know if this can be called a bug, but AutoItWrapper directives aren't ignored when wrapped in multiple comment keywords.

; These are ignored.
;~ #AutoIt3Wrapper_Res_File_Add=Binexample.gif, 10, EXAMPLE
;~ #AutoIt3Wrapper_Res_File_Add=Binexample_2.gif, 10, EXAMPLE_2

#cs
    These aren't ignored.
    #AutoIt3Wrapper_Res_File_Add=Binexample.gif, 10, EXAMPLE
    #AutoIt3Wrapper_Res_File_Add=Binexample_2.gif, 10, EXAMPLE_2
#ce

_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

I don't know if this can be called a bug, but AutoItWrapper directives aren't ignored when wrapped in multiple comment keywords.

It's not a bug and only build support for commentlines not commentblocks. I always use Ctrl+Q to comment/uncomment blocks of lines for directives.

Funny to see it took this long to see this popping up which likely means that most people use comment lines when commenting directives as well.

Jos


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

Share this post


Link to post
Share on other sites

It's not a bug and only build support for commentlines not commentblocks. I always use Ctrl+Q to comment/uncomment blocks of lines for directives.

I guessed it wasn't. Thanks.

_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

Hi. I know it's New Year's but I am just putting this possible bug report here just in case I forget.

The website for the Tidy documentation (http://www.autoitscript.com/autoit3/scite/docs/tidy_doc.htm) has these options listed:

*** Add comment to EndFunc statement e.g. "EndFunc ;==>UDF_Name".
Skip_EndFunc_Comment=1

*** Remove comments from EndFunc statement.
Remove_EndFunc_Comment=1
The problem is that they don't seem to work. I could be using them wrong.

Also, the example .ini included in the default AutoIt install has this option which does seem to work:

endfunc_comment

Share this post


Link to post
Share on other sites

Just tried the /refc and worked fine and removed the existing comments after EndFunc :

#Tidy_Parameters= /refc

What version of Tidy are you using?

Jos


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

Share this post


Link to post
Share on other sites

I tried the tidy in this release of SciTE4AutoIt3 and the version found in the beta directory.

This combination works perfectly for both versions:

#Tidy_Parameters= /refc
endfunc_comment = 0

I never considered using the directives. It's probably best.

But the two I mentioned earlier don't work in either version or in any combination of 1 or 0.

Share this post


Link to post
Share on other sites

The Directive overrides the INI settings and are working properly. I will have a look at the INI settings whether there is an issue there.

Jos


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

Share this post


Link to post
Share on other sites

I have no idea what happened and why the documentation contains that information, but this is what it should be: (updated model tidy.ini)

[ProgramSettings]
 * * *  Indent  0 = Tabs  >0 = Number of Space
tabchar=0

 * * *  Update Functions/Keywords/Macros/UDFs to Proper case
proper=1

 * * * Update Constants defined in the "constant Include files"
properconstants=0

 * * *  Update Variables to: 1=LowerCase; 2=UpperCase; 3=First Dim/Local/Global or "First_Seen" Case
vars=3

 * * *  Update Spaces around Delimiters
delim=1

 * * *  Add comment to EndFunc statement e.g. "EndFunc   ;==>UDF_Name"
#~ endfunc_comment=1
 * * *  Ingnore EndFunc statement comments.
#~ endfunc_comment=0
 * * *  Remove comments from EndFunc statement.
#~ endfunc_comment=-1

 * * *  Added comment to EndRegion and make it the same as the #Region Comments.
#~ endregion_comment=1
 * * *  Ingnore EndFunc statement comments.
#~ endregion_comment=0
 * * *  Remove comments from EndFunc statement.
#~ endregion_comment=-1


 * * *  Indent #region sections
region_indent=1

 * * *  Generate Documentation file for the Program and optionally Display it with Notepad at the end ot the Tidy run
Gen_Doc=0
Gen_Doc_Show=0

 * * *   Keep x Version of the File before the Tidy run and optionally store them in SubDirectory "\Backup"
KeepNVersions=5

 * * *   Target backup directory which defaults to Scriptdir\Backup. Any other directory needs to exist or else it will use the default directory!
backupDir=

 * * *   Remove Empty lines from Script Source
Remove_Empty_Lines=

 * * *   1=Show Tidy Errors in Console   9=Debug Output
ShowConsoleInfo=

 * * *   Run DIFF program at the end of the Tidy run to show the difference between original and new program.
xShowDiffPgm=C:\Progra~1\WinMerge\winmerge.exe "%new%" "%old%"

 * * *  End With NewLine: 0=Strip Lastline CRLF (default) 1=Always end with RCLF
End_With_NewLine=0

Jos


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

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0