Developers Jos Posted January 15, 2009 Author Developers Posted January 15, 2009 Hi JosA minor tidy issue.Every time tidy is used, the last(eof)-trailing line break in the target file is removed. (CRLF in my case)If I'm correct this behavior is relative new, about one or two scite4autoit versions ago.MvGulikTo my knowledge this behavious is already there for a long time. I went back to ver 2.0.14 of June 14, 2007 and it does the exact same thing.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.
MvGulik Posted January 15, 2009 Posted January 15, 2009 To my knowledge this behavious is already there for a long time. I went back to ver 2.0.14 of June 14, 2007 and it does the exact same thing.Joslol, I guess it never bugged me before.I'll try to un-bug myself again. MvGulik "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ...
Moderators Melba23 Posted January 25, 2009 Moderators Posted January 25, 2009 Jos, When I search for something in SciTE the line in which it is found always appears 2 lines up from the bottom of the editing window - I would prefer it to be about 15 lines up, if possible. I have searched in the SciTE documentation for the parameter to change this behaviour, but I cannot find anything that looks a likely candidate. Do you know where it is? Thanks in advance, M23 P.S. And the new beta Obfuscator works nicely with lines over 2048 - thanks for that as well. 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
Developers Jos Posted January 25, 2009 Author Developers Posted January 25, 2009 (edited) Try playing with these : visible.policy.strict=1 visible.policy.slop=1 visible.policy.lines=10 Edited January 25, 2009 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.
Moderators Melba23 Posted January 25, 2009 Moderators Posted January 25, 2009 Jos,I just knew you would know - visible.policy.lines is the one.Bedankt,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
PartyPooper Posted January 30, 2009 Posted January 30, 2009 Hey Jos, just wondering if there is a particular reason why SciTE4AutoIt3 is still using AutoIt v3.2.12.1 definitions given that v3.3.0.0 was released over a month ago or if it's simply you just haven't had time to update it yet?
MadBoy Posted January 31, 2009 Posted January 31, 2009 Hey Jos, just wondering if there is a particular reason why SciTE4AutoIt3 is still using AutoIt v3.2.12.1 definitions given that v3.3.0.0 was released over a month ago or if it's simply you just haven't had time to update it yet?New definitions for Scite are delivered with AutoIt. So if you have scite installed and you install AutoIt v3.3.0.0 it should give you proper definitions in SCITE. My little company: Evotec (PL version: Evotec)
ken82m Posted February 1, 2009 Posted February 1, 2009 Must be something with the installer. I had the same problem. With SciTe installed I ripped out 3.3.0.0 and then reinstalled it but I still had the 3.2.12.1 defs. I ended up downloading the sfx and manually updated the SciTe files. -Kenny "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains."
wraithdu Posted February 1, 2009 Posted February 1, 2009 Did you run the UpdateDefs utility from the SciTE4AutoIt3 Defs directory after installing 3.3.0.0?
PartyPooper Posted February 1, 2009 Posted February 1, 2009 Did you run the UpdateDefs utility from the SciTE4AutoIt3 Defs directory after installing 3.3.0.0?Yes, it gives me a choice of either using v3.2.12.1 or Beta v3.2.13.11, neither of which I have.
wraithdu Posted February 2, 2009 Posted February 2, 2009 After installing 3.3.0.0, you'll have to manually edit the versioninfo.ini file to change the version before running UpdateDefs. The utility just reads the INI file, not the actual version of the defs file (it's a cosmetic thing).
Moderators Melba23 Posted February 2, 2009 Moderators Posted February 2, 2009 wraithdu, Thanks for that. SciTE is now up to date. 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
Joec49 Posted February 2, 2009 Posted February 2, 2009 I haven't changed the logic in the installer as far as I know. It does retrieve the key from the registry for AutoIt3 and adds "\SciTE" to it: ReadRegStr $R0 HKLM "Software\AutoIt v3\AutoIt" "InstallDir" StrCpy $INSTDIR "$R0\SciTE" Jos My antivirus s/w treats AutoitSC.bin as a trojan horse and deletes it.....I cannot compile etc....any tips? Joe
MadBoy Posted February 2, 2009 Posted February 2, 2009 My antivirus s/w treats AutoitSC.bin as a trojan horse and deletes it.....I cannot compile etc....any tips?JoeYes, turn off your antivir, remove it, or add AutoitSC.bin to ignore in it. My little company: Evotec (PL version: Evotec)
PartyPooper Posted February 3, 2009 Posted February 3, 2009 After installing 3.3.0.0, you'll have to manually edit the versioninfo.ini file to change the version before running UpdateDefs. The utility just reads the INI file, not the actual version of the defs file (it's a cosmetic thing).Meh, I don't like poking around under the hood of SciTE in case I break it so I'll wait for the next update. Thanks anyway wraithdu.
TheSaint Posted February 10, 2009 Posted February 10, 2009 I apologise in advance if this has been discussed before, but I did a search all the way back to April 2008, and the closest I came to any reference was in a post called 'Scite Convenience Keys' which didn't help and seemed to infer a conflict for Ctrl+J etc.Anyway, this is my issue .......Something seems to be messed up with the Ctrl+J (etc) in two of my versions of SciTE.In both AutoIt v3.2.12.0 & v3.3.0.0 none of the shortcut keys involving the InvokeTool commands work for me. I still have no problem with SciTE versions prior to use of the InvokeTool. All the other Shortcuts (Koda, etc) appear to work fine.Is this a bug for everyone? Or is my install messed up - I just unzipped the full versions of SciTE into the SciTE folder of the relevant AutoIt version, and use my switcher program to change between the 4 versions I have installed.Has anyone else had this issue?Here is one of the relevant Standard LUA Functions entries from the au3.properties file -#x 18 Jump to Func quicklycommand.name.18.$(au3)=Jump to Function Prodcommand.mode.18.$(au3)=subsystem:lua,savebefore:yescommand.shortcut.18.$(au3)=Ctrl+Jcommand.18.$(au3)=InvokeTool AutoItGotoDefinition.GotoDefinitionIf I comment out this line -;command.mode.18.$(au3)=subsystem:lua,savebefore:yesI get the following message in the Output pane ->InvokeTool AutoItGotoDefinition.GotoDefinition>The system cannot find the file specified.I guess that running the UpdateDefs.exe file might fix this, but I'm reluctant to do that, as it appears to effect personal config files outside of the AutoIt install folder, which might cause issues with my other AutoIt/SciTE installs. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)
Valik Posted February 10, 2009 Posted February 10, 2009 The reason you get an error is because you removed the line telling SciTE to use Lua to handle the command. If you have multiple separate installations of SciTE things are going to get fucked up, plain and simple. I don't understand why you need multiple installations of SciTE. Perhaps removing your need for that will fix the problem.
TheSaint Posted February 10, 2009 Posted February 10, 2009 (edited) The reason you get an error is because you removed the line telling SciTE to use Lua to handle the command.I guess that is pretty obvious, but it showed that something was happening ... whereas before you couldn't tell - either using the shortcut key or menu item. So at least that element was working.If you have multiple separate installations of SciTE things are going to get fucked up, plain and simple. I don't understand why you need multiple installations of SciTE. Perhaps removing your need for that will fix the problem.At the very least, if you want to run various versions of AutoIt with SciTE, you need to switch definitions to do so, and have SciTE installed outside of the AutoIt3 folder (this in itself causes a raft of issues I suspect). My solution of having the appropriate version of SciTE for the matching version of AutoIt, seems the best solution, and up till recently has worked fine for me. Obviously a path or something (variable?) needs to be updated somewhere because of the change involving InvokeTool etc (I'm guessing).Are you indicating that you only ever run the latest version of AutoIt and Beta?Or do you have another method to run earlier versions?EDIT:In particular, since the major changes to AutoIt from v3.2.6.0, it has been necessary to run at least two versions of AutoIt, or painstakingly update all your previous scripts ... not to mention the time to come to grips with the new changes ... for which you needed to have the latest version installed to do so.In fact, that is why I've waited until now to update ... finally found the time to learn all the differences and older script breaking elements. Edited February 10, 2009 by TheSaint Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)
Valik Posted February 10, 2009 Posted February 10, 2009 First, let me state I do not use SciTE4AutoIt. I have my own tools. At the very least, if you want to run various versions of AutoIt with SciTE, you need to switch definitions to do so, and have SciTE installed outside of the AutoIt3 folder (this in itself causes a raft of issues I suspect). My solution of having the appropriate version of SciTE for the matching version of AutoIt, seems the best solution, and up till recently has worked fine for me. Obviously a path or something (variable?) needs to be updated somewhere because of the change involving InvokeTool etc (I'm guessing).I don't change definitions. I change a single variable in a property file to switch between beta and stable: expandcollapse popup# Only one of these can be define at a time. Define to the currently in-use # version of AutoIt. If both are set, then beta will take precedence. STABLE_AUTOIT=1 BETA_AUTOIT=0 # Import the keyword lists for both stable and beta. import properties\au3.keywords.stable import properties\au3.keywords.beta # We are using stable AutoIt. if STABLE_AUTOIT # Set Au3Dir to the AutoIt directory. This variable is used outside the if. Au3Dir=D:\Program Files\AutoIt3 # Load the stable API file. api.$(au3)=$(SciteDefaultHome)\api\au3.stable.api # AutoIt Keyword Lists keywords.$(au3)=$(au3.keywords.keywords.stable) keywords2.$(au3)=$(au3.keywords.functions.stable) keywords3.$(au3)=$(au3.keywords.macros.stable) keywords4.$(au3)=$(au3.keywords.sendkeys.stable) keywords5.$(au3)=$(au3.keywords.preprocessor.stable) keywords6.$(au3)=$(au3.keywords.special.stable) keywords8.$(au3)=$(au3.keywords.udfs.stable) # We are using beta AutoIt. if BETA_AUTOIT # Set Au3Dir to the AutoIt directory. This variable is used outside the if. Au3Dir=D:\Program Files\AutoIt3\beta # Load the beta API file. api.$(au3)=$(SciteDefaultHome)\api\au3.beta.api # AutoIt Keyword Lists keywords.$(au3)=$(au3.keywords.keywords.beta) keywords2.$(au3)=$(au3.keywords.functions.beta) keywords3.$(au3)=$(au3.keywords.macros.beta) keywords4.$(au3)=$(au3.keywords.sendkeys.beta) keywords5.$(au3)=$(au3.keywords.preprocessor.beta) keywords6.$(au3)=$(au3.keywords.special.beta) keywords8.$(au3)=$(au3.keywords.udfs.beta) I manually change the variable but it would be trivial to make it part of a script. Are you indicating that you only ever run the latest version of AutoIt and Beta? Or do you have another method to run earlier versions?I only need to run stable, beta and alternate. Alternate could be anything but I point it to the compiler output so I can easily test scripts with fresh builds during development. I wrote my own tools which allow me to specify one of the above mentioned three locations. My tools provide both a system-wide setting and per-script override via special pre-processor statements. I do not run AutoIt3.exe directly opting instead to pass scripts through an interpreter which in turn passes the script to the appropriate version. I generally keep stable set as system-wide and if I have a specific need I will use the in-script "#Beta" or "#Alternate" pre-processor statements to tell my interpreter what to do with that script. The interpreter also provides pre-processor statements for specifying all the Aut2Exe options meaning I never have to use the Aut2Exe GUI to have custom compiled scripts. There are other features as well but I think you get the point. The problem with multiple installations of SciTE is going to be your user properties file. You can only have one without setting an environment variable to change the default location. So assuming you only have one copy of that file shared by multiple instances of SciTE who knows what files are being loaded from where. Of particular note would be the Lua startup script.
TheSaint Posted February 10, 2009 Posted February 10, 2009 First, let me state I do not use SciTE4AutoIt. I have my own tools. I don't change definitions. I change a single variable in a property file to switch between beta and stable: expandcollapse popup# Only one of these can be define at a time. Define to the currently in-use # version of AutoIt. If both are set, then beta will take precedence. STABLE_AUTOIT=1 BETA_AUTOIT=0 # Import the keyword lists for both stable and beta. import properties\au3.keywords.stable import properties\au3.keywords.beta # We are using stable AutoIt. if STABLE_AUTOIT # Set Au3Dir to the AutoIt directory. This variable is used outside the if. Au3Dir=D:\Program Files\AutoIt3 # Load the stable API file. api.$(au3)=$(SciteDefaultHome)\api\au3.stable.api # AutoIt Keyword Lists keywords.$(au3)=$(au3.keywords.keywords.stable) keywords2.$(au3)=$(au3.keywords.functions.stable) keywords3.$(au3)=$(au3.keywords.macros.stable) keywords4.$(au3)=$(au3.keywords.sendkeys.stable) keywords5.$(au3)=$(au3.keywords.preprocessor.stable) keywords6.$(au3)=$(au3.keywords.special.stable) keywords8.$(au3)=$(au3.keywords.udfs.stable) # We are using beta AutoIt. if BETA_AUTOIT # Set Au3Dir to the AutoIt directory. This variable is used outside the if. Au3Dir=D:\Program Files\AutoIt3\beta # Load the beta API file. api.$(au3)=$(SciteDefaultHome)\api\au3.beta.api # AutoIt Keyword Lists keywords.$(au3)=$(au3.keywords.keywords.beta) keywords2.$(au3)=$(au3.keywords.functions.beta) keywords3.$(au3)=$(au3.keywords.macros.beta) keywords4.$(au3)=$(au3.keywords.sendkeys.beta) keywords5.$(au3)=$(au3.keywords.preprocessor.beta) keywords6.$(au3)=$(au3.keywords.special.beta) keywords8.$(au3)=$(au3.keywords.udfs.beta) I manually change the variable but it would be trivial to make it part of a script. I only need to run stable, beta and alternate. Alternate could be anything but I point it to the compiler output so I can easily test scripts with fresh builds during development. I wrote my own tools which allow me to specify one of the above mentioned three locations. My tools provide both a system-wide setting and per-script override via special pre-processor statements. I do not run AutoIt3.exe directly opting instead to pass scripts through an interpreter which in turn passes the script to the appropriate version. I generally keep stable set as system-wide and if I have a specific need I will use the in-script "#Beta" or "#Alternate" pre-processor statements to tell my interpreter what to do with that script. The interpreter also provides pre-processor statements for specifying all the Aut2Exe options meaning I never have to use the Aut2Exe GUI to have custom compiled scripts. There are other features as well but I think you get the point. The problem with multiple installations of SciTE is going to be your user properties file. You can only have one without setting an environment variable to change the default location. So assuming you only have one copy of that file shared by multiple instances of SciTE who knows what files are being loaded from where. Of particular note would be the Lua startup script.I do use SciTE4AutoIt (with my Toolbar For Any program, etc), and I likewise use programs of mine to update a few of SciTE's properties files and to swap versions. That has worked well for me up to now, and once I figure out the changes I need to make to my programs (one program mainly), they will undoubtably still serve me. So in reality I guess, I'm asking for inside info on the differences (etc) ... if that is where the problem lies. I've always nutted it out myself in the past, but I notice there are major differences to what I've seen in the past - (au3) instead of (file.patterns.au3) and InvokeTool AutoItGotoDefinition.GotoDefinition. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)
Recommended Posts