jaberwacky Posted October 10, 2012 Author Posted October 10, 2012 Now hold on for one minute. I changed ext.lua.reset to zero in my sciteuser.properties and now this script doesn't work at all. Have yall just been stringing me along for a ride? 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?
jaberwacky Posted October 10, 2012 Author Posted October 10, 2012 (edited) Alright, I updated to the latest version. I should note that if you have 'ext.lua.reset' set to one in the 'SciTEUser.Properties' then this won't work correctly, but that should not concern most of you. However, if you're having issues then check that setting first. Bugs: squashed. Inefficiencies: eliminated. Edited October 10, 2012 by LaCastiglione 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?
MvGulik Posted October 10, 2012 Posted October 10, 2012 jaberwacky 1 "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 ...
jaberwacky Posted October 11, 2012 Author Posted October 11, 2012 OK, I fixed the bugs I introduced in my latest bug fixes! Should definitely work now. Please let me know if it doesn't work. I also want to know if it does! Don't leave me hangin'. 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?
jaberwacky Posted October 11, 2012 Author Posted October 11, 2012 Updated yet again with another feature. See Update spoiler in original post for more details. 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?
MvGulik Posted November 4, 2012 Posted November 4, 2012 (edited) Just reporting/dumping some minor exception I run into.Seems "editor:GetLine(i)" in line:255 can return 'nil' in some cases.Which in turn triggers a (temporary) error message at line:257- did not find the main scite/text reason that triggered this.Error message:...AutoIt3SciTELuaCallTipsOnMouseHover.lua:257: bad argument #1 to 'gsub' (string expected, got nil)//code from CallTipsOnMouseHover.lua if filepath == props["FilePath"] then for i = 0 , editor.LineCount - 1 do local line = editor:GetLine(i) //line:255 line = string.gsub(line, 'n', '') //line:257 if string.find(string.lower(line), funcdef_reg_exp) and line ~= nil then function_definition = get_function_definition(line, word) break end end elseOops, forum editor eat the code indentation ... again. >_<[striked: using wrong/old version] Edited November 4, 2012 by 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 ...
jaberwacky Posted November 4, 2012 Author Posted November 4, 2012 You use the latest version? Because our line numbers do not match. 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?
MvGulik Posted November 4, 2012 Posted November 4, 2012 (edited) Checking. Nope. (Updated local version) Considering it fixed. Edited November 4, 2012 by 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 ...
jaberwacky Posted November 4, 2012 Author Posted November 4, 2012 I await further correspondence. 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?
jaberwacky Posted November 5, 2012 Author Posted November 5, 2012 (edited) OK, I found another bug I introduced and then fixed it. Again. *Sigh* I think I will leave this script alone for a good while.EDIT: Fixed it again. =P Edited November 5, 2012 by LaCastiglione 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?
MvGulik Posted November 5, 2012 Posted November 5, 2012 On 11/5/2012 at 12:51 AM, 'LaCastiglione said: I think I will leave this script alone for a good while.I know the feeling. I will hold off on minor stuff. (if I find any that is. ) "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 ...
jaberwacky Posted November 5, 2012 Author Posted November 5, 2012 (edited) Don't get me wrong. I will fix bugs. I just should stop trying to add new features. I always introduce more bugs. Edited November 5, 2012 by LaCastiglione 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?
MvGulik Posted November 5, 2012 Posted November 5, 2012 Roger. "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 ...
MvGulik Posted December 9, 2012 Posted December 9, 2012 (edited) Aha. When typing #include ' and/or #include '' ( ' | " | <>). It seems its assumed there is some include data/string available to be pass on after the RE part. Which is not always the case. function MouseHoverCallTips:get_include_from_line(line) ... local include = string.match(line, "[<"']%s*.+.au3%s*['">]") -- can return nil in some cases. if include == nil then return '' end -- fast error fix/blocker. Works so far. But might not be the right solution. -- (As I'm not sure about intended/expected RE output.) return string.sub(include, 2, -2) -- error triggered if 'include' is nil. ... end [spelling ... + bye bye code indentation. Getting/Is really silly for a code forum ...] Edited December 9, 2012 by 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 ...
jaberwacky Posted December 10, 2012 Author Posted December 10, 2012 Thanks for the report! Try it now please. MvGulik 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?
jaberwacky Posted December 17, 2012 Author Posted December 17, 2012 (edited) Ok, after having taken a deeper look, I think this character sequence: ".+" found in the pattern: "[<"']%s*.+.au3%s*['">]" accounts for one or more characters. I may be mistaken. Edited December 17, 2012 by jaberwocky6669 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?
MvGulik Posted December 17, 2012 Posted December 17, 2012 Nope, your not mistaken about that. www.wowpedia.org - Lua Pattern_matchingLua RE Problems? "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 ...
jaberwacky Posted December 17, 2012 Author Posted December 17, 2012 It seems to work right for me. What problem(s) were you experiencing? 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?
MvGulik Posted December 19, 2012 Posted December 19, 2012 (edited) On 12/17/2012 at 9:28 PM, 'jaberwocky6669 said: What problem(s) were you experiencing?None ... that I'm aware of (last updated version worked ok for me). Though(+t) you might have some RE issue's because you ware not sure about the ".+" part. [missing t] Edited February 24, 2013 by 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 ...
Sunaj Posted February 23, 2013 Posted February 23, 2013 Thank you, great improvement when dev. complex stuff. Interesting how AutoIt is starting to have a potentially more mature development platform than what I am using for mainstream language development such as JS and PHP (that's not counting the full blown IDEs (which I dislike for their non-transparency anyway)). Also, a question, is it possible to do line breaks in Function comment/description? So as to emulate the format used by for example _ArrayDisplay and others [list=1][*]Generic way to detect full path to default browser, List/ListView Events Using GuiRegisterMsg (detect doubleclick and much more)[*]Using dllcall for full control over fileopendialog, Make DirMove act somewhat normally (by circumventing it...)[*]Avoid problems with "&" (chr(38)) in code, Change desktop maximized area/workspace (fx to make deskbar type app)[*]Change focus behavior when buttons are clicked to work closer to 'standard windows' app[*](Context) Menus With Timed Tooltips, Fast Loops & Operators in AU3[*]Clipboard UDF, A clipboard change notification udf[/list]
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