StandardUser Posted June 17, 2014 Share Posted June 17, 2014 Good day, could someone tell me, is there a way to make Scite remember structure of all folded/unfolded code blocks(including nested b;ocks)? As you know, when loading a script, all blocks are unfolded. I just found a setting to fold all blocks on load(fold.on.open=1), but it is not really helpful when you have a complex script. Link to comment Share on other sites More sharing options...
jaberwacky Posted June 18, 2014 Share Posted June 18, 2014 If I recall then I think you want: save.session=1 session.folds=1 Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
StandardUser Posted June 18, 2014 Author Share Posted June 18, 2014 If I recall then I think you want: save.session=1 session.folds=1 Many thanks for a response. Unfortunatelly, it didn't help(these two settings were already included in SciTEGlobal.properties file). Would be really grateful for any other ideas Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted June 18, 2014 Moderators Share Posted June 18, 2014 871,You need to have those setting AND use the <File - Load/Save Session> menu items to store the folds. Get the loaded scripts folded as you want and then save the session. When you reopen SciTE, reload the session and the scripts are reloaded with the folds set just as you saved them. 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...
StandardUser Posted June 18, 2014 Author Share Posted June 18, 2014 871, You need to have those setting AND use the <File - Load/Save Session> menu items to store the folds. Get the loaded scripts folded as you want and then save the session. When you reopen SciTE, reload the session and the scripts are reloaded with the folds set just as you saved them. M23 At last! This was a real trouble for me. I just added save.session.advanced to Scite properties to autoload last saved session. Many thanks! Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted June 18, 2014 Moderators Share Posted June 18, 2014 871,Make sure you add that line to your User Options file - if you add it to Global Options it will be overwritten when you next update. 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...
StandardUser Posted June 18, 2014 Author Share Posted June 18, 2014 Understood! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now