Moderators Melba23 Posted November 2, 2013 Moderators Share Posted November 2, 2013 Jos,>"M:ProgramAutoIt3SciTEtidytidy.exe" "M:ProgramAu3 ScriptsChooseFileFolder_Mod.au3"Tidy AutoIt3 v2.3.0.22 Copyright © Jos van der Zande November 2, 2013+> Tidy AutoIt3 finished and has no updates to make!>Exit code: 0 Time: 1.681M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Developers Jos Posted November 2, 2013 Author Developers Share Posted November 2, 2013 Is the restore of folds working when tidy does changes the file? 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 More sharing options...
Moderators Melba23 Posted November 2, 2013 Moderators Share Posted November 2, 2013 Jos,Yes:>"M:ProgramAutoIt3SciTEtidytidy.exe" "M:ProgramAu3 ScriptsChooseFileFolder_Mod.au3"Tidy AutoIt3 v2.3.0.22 Copyright © Jos van der Zande November 2, 2013+> Tidy AutoIt3 finished. Original copied to:"M:ProgramAu3 ScriptsBackUpChooseFileFolder_Mod_old4.au3"> Restoring Folds on line(s):4,18,20,26,34,44,92,494,544,899,916,930,941,984,995,1010,1016,1055,1061,1107,1113,1279,1285,1294,1300,1342,1348,1385,1391,1417,1423>Exit code: 0 Time: 2.535M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
DatMCEyeBall Posted November 2, 2013 Share Posted November 2, 2013 lair. "Just be fred, all we gotta do, just be fred." -Vocaliod "That is a Hadouken. A KAMEHAMEHA would have taken him 13 days and 54 episodes to form." - Roden Hoxha @tabhooked Clock made of cursors ♣ Desktop Widgets ♣ Water Simulation Link to comment Share on other sites More sharing options...
Developers Jos Posted November 2, 2013 Author Developers Share Posted November 2, 2013 lair. meaning? 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 More sharing options...
Developers Jos Posted November 2, 2013 Author Developers Share Posted November 2, 2013 (edited) @M23, This all is pretty strange as the SaveSession and restore also runs when there's nothing to Tidy, which it wasn't the case before. It also works fine for me and haven't been able to replicate the behaviour you get... Jos Edited November 2, 2013 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. Link to comment Share on other sites More sharing options...
MHz Posted November 2, 2013 Share Posted November 2, 2013 Then perhaps it is not finding SaveSession and restoring the folds. Look at the path M23 shows. It is not drive M23 or %ProgramFiles(x86)%. Just a guess. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 2, 2013 Moderators Share Posted November 2, 2013 MHz,But it does restore the folds when it does tidy something in the file, so it must be able to find the information as it uses it then. Does the new version work correctly for you? Or for anyone else reading? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Developers Jos Posted November 2, 2013 Author Developers Share Posted November 2, 2013 @MHz: Tidy does an extra SaveSession command and saves it to "%temp%/tidyscite.session" so should be no issue. @M23:I will make a debug version to see what Tidy finds and reads from the savesession file. Thanks 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 More sharing options...
MHz Posted November 2, 2013 Share Posted November 2, 2013 @M23 I used tidy much until lua handled indenting etc. Now Tidy is to clean up the mess of scripts of others which are untidy. I try to keep tidy on the fly as one could say. @Jos Thanks, just a guess as I mentioned. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 2, 2013 Moderators Share Posted November 2, 2013 MHz, Now Tidy is to clean up the mess of scripts of others which are untidy. I try to keep tidy on the fly as one could say.Much the same for me. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Developers Jos Posted November 3, 2013 Author Developers Share Posted November 3, 2013 (edited) Could some other please try the Beta Tidy to and do some testing to see if the restore of the folds work for them all the time or just when Tidy made changes? Somehow it seems that on M23 setup the save-session in SciTE doesn't save the fold status in case there is nothing to tidy, were it works for me. The current Beta will display a bunch of extra debug info in the console around the content of the saved session file so you can see what is read from it by Tidy. Thanks, Jos Edited November 3, 2013 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. Link to comment Share on other sites More sharing options...
DatMCEyeBall Posted November 3, 2013 Share Posted November 3, 2013 Jos, Here: >"C:\Program Files\AutoIt3\SciTE\tidy\tidy.exe" "C:\Users\M. van zyl\Desktop\UJMA Point System\Source\Point System.au3" Tidy AutoIt3 v2.3.0.22 Copyright (c) Jos van der Zande November 2, 2013 +> Tidy AutoIt3 finished and has no updates to make! > *** processing Sessionfile:C:\Users\M77FF~1.VAN\AppData\Local\Temp\tidyscite.session > *** Trying to restore folds and bookmards for file: C:\Users\M. van zyl\Desktop\UJMA Point System\Source\Point System.au3 > --- # SciTE session file > --- > --- buffer.1.path=C:\Users\M. van zyl\Desktop\UJMA Point System\Source\Point System.au3 > --- buffer.1.position=1742 > --- buffer.1.current=1 > --- buffer.1.folds=2,12,16,18,23,48,61,69,125,130,138,251,261,272,276,280,290,297,301,469,513,520,537,582,606,632,669,699,731,758,825,900,939,979,1029,1054,1176,1281,1401,1452,1503,1771,2216,2385,2614,2615,2640,2656,2679,2698,2748,2776,2815,2835,2846,2856,2871,2879,2890,2901,2912,2923,2934,2945,2956,2967,2978,2989,3000,3011,3022,3033,3044,3055,3066,3077,3088,3099,3110,3121 > --- > --- buffer.2.path=C:\Users\M. van zyl\Desktop\Folders 'o stuff\Au3\File to Base64 String Code Generator v1.12 Build 2013-03-25\File to Base64 String Code Generator.au3 > --- buffer.2.position=2374 > *** # SciTE session file > *** > *** buffer.1.path=C:\Users\M. van zyl\Desktop\UJMA Point System\Source\Point System.au3 > *+* buffer.1.position=1742 > *+* buffer.1.current=1 > *+* buffer.1.folds=2,12,16,18,23,48,61,69,125,130,138,251,261,272,276,280,290,297,301,469,513,520,537,582,606,632,669,699,731,758,825,900,939,979,1029,1054,1176,1281,1401,1452,1503,1771,2216,2385,2614,2615,2640,2656,2679,2698,2748,2776,2815,2835,2846,2856,2871,2879,2890,2901,2912,2923,2934,2945,2956,2967,2978,2989,3000,3011,3022,3033,3044,3055,3066,3077,3088,3099,3110,3121 > Restoring Folds on line(s):2,12,16,18,23,48,61,69,125,130,138,251,261,272,276,280,290,297,301,469,513,520,537,582,606,632,669,699,731,758,825,900,939,979,1029,1054,1176,1281,1401,1452,1503,1771,2216,2385,2614,2615,2640,2656,2679,2698,2748,2776,2815,2835,2846,2856,2871,2879,2890,2901,2912,2923,2934,2945,2956,2967,2978,2989,3000,3011,3022,3033,3044,3055,3066,3077,3088,3099,3110,3121 > *+* > *** buffer.2.path=C:\Users\M. van zyl\Desktop\Folders 'o stuff\Au3\File to Base64 String Code Generator v1.12 Build 2013-03-25\File to Base64 String Code Generator.au3 > *** buffer.2.position=2374 > *** GotoPos: 1741 >Exit code: 0 Time: 4.548 "Just be fred, all we gotta do, just be fred." -Vocaliod "That is a Hadouken. A KAMEHAMEHA would have taken him 13 days and 54 episodes to form." - Roden Hoxha @tabhooked Clock made of cursors ♣ Desktop Widgets ♣ Water Simulation Link to comment Share on other sites More sharing options...
Developers Jos Posted November 3, 2013 Author Developers Share Posted November 3, 2013 So it works for you in both cases?: when there is nothing to Tidy or when Tidy made changes ... right? Thanks for testing, 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 More sharing options...
guinness Posted November 3, 2013 Share Posted November 3, 2013 (edited) Works for me in Windows 8.1 x64 when there is something to tidy or not. I am using Tidy AutoIt3 v2.3.0.22. I tested on the current SciTE Jump source code. PS. Oh and I went crazy and toggled all the folds via View and it retained the folds. Edited November 3, 2013 by guinness UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _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 parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
DatMCEyeBall Posted November 3, 2013 Share Posted November 3, 2013 (edited) Works for me, Win 7 Ultimate X86, but why does tidy touch "buffer.2"? Edited November 3, 2013 by DatMCEyeBall "Just be fred, all we gotta do, just be fred." -Vocaliod "That is a Hadouken. A KAMEHAMEHA would have taken him 13 days and 54 episodes to form." - Roden Hoxha @tabhooked Clock made of cursors ♣ Desktop Widgets ♣ Water Simulation Link to comment Share on other sites More sharing options...
Developers Jos Posted November 3, 2013 Author Developers Share Posted November 3, 2013 but why does tidy touch "buffer.2"? As you can see in the debugging info: Only Buffer.1 folds are restored and the rest is just the info from the session saved file that isn't used. Cheers 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 More sharing options...
Developers Jos Posted November 3, 2013 Author Developers Share Posted November 3, 2013 Updated the Beta version of Tidy in which I removed the extra debug console lines. It seems the issue is isolated to m23's setup and we will take this offline for now. Thanks all for testing, Jos DatMCEyeBall 1 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 More sharing options...
Moderators Melba23 Posted November 4, 2013 Moderators Share Posted November 4, 2013 Hi,If anyone was losing sleep over my inability to get Tidy to refold files, I am delighted to inform you that the problem has been resolved by a small change to one of my SciTE property files. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
guinness Posted November 4, 2013 Share Posted November 4, 2013 Hi, If anyone was losing sleep over my inability to get Tidy to refold files, I am delighted to inform you that the problem has been resolved by a small change to one of my SciTE property files. M23 What was it? UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _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 parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
Recommended Posts