From 4b29fc87291e0511b0230695dea7b84c8ccb5c6d Mon Sep 17 00:00:00 2001 From: maestrith Date: Mon, 27 Feb 2017 21:39:13 -0500 Subject: [PATCH] Changed: Reported by megabugman -Zoom causing line numbers to get cropped #108 -Context Menu: items that are not applicable are greyed out #98 -Deleting umlaut characters was causing an issue #97 -Inline commands for hotkeys were not displaying parameters #96 -Odd issue with resizing controls when clicking on Omni-Search #95 -Error message when cancelling a plugin download from menus #93 -Run Selected Text --Added Run Selected Text to the main code and changed how it works with multiple selected lines #92 --Added Run Code Block to the main code Fixed the SingleInstance issue #91 -Ctrl+R and Ctrl+E were adding odd control characters to the script #90 -Right Click: Selection will not change when right clicking #89 -Double Click on anything like #NoEnv and it will now select the # #88 Fixed: -Delete/Backspace would go letter by letter when using a single caret. Multiple carets will still do this. -If you add a space in the tab previous to the first word of a line it would crash Studi Added: -Command Help (F1): --Directives now work --Selected words will also work if it is found by AHK Studio --No need to have the Caret after the Command --- AHK-Studio.ahk | 10168 ++++++++++++++++++++++++++++++++++++++++++++++ AHK-Studio.text | 1 + 2 files changed, 10169 insertions(+) create mode 100644 AHK-Studio.ahk diff --git a/AHK-Studio.ahk b/AHK-Studio.ahk new file mode 100644 index 00000000..f678847a --- /dev/null +++ b/AHK-Studio.ahk @@ -0,0 +1,10168 @@ +#SingleInstance,Off +SetBatchLines,-1 +SetWorkingDir,%A_ScriptDir% +SetControlDelay,-1 +#MaxHotkeysPerInterval,2000 +DetectHiddenWindows,On +CoordMode,ToolTip,Screen +global v:=[],MainWin,settings:=new XML("settings","lib\Settings.xml"),files:=new XML("files"),Positions:=new XML("positions","lib\Positions.xml"),cexml:=new XML("cexml"),History:=new XML("HistoryXML"),vversion:=new XML("versions","lib\Versions.xml"),commands,menus,scintilla,TVC:=new EasyView(),RCMXML:=new XML("RCM","lib\RCM.xml"),TNotes,debugwin,Selection:=new SelectionClass(),Menus +if(!settings[]){ + Run,lib\settings.xml + m("Oh boy...check the settings file to see what's up.") +} +v.LineEdited:=[],v.LinesEdited:=[],v.RunObject,v.OmniFind:={Function:"OUm`n)^[\s|}]*((\w|[^\x00-\x7F])+)\((.*)\)(\s*;.*\R){0,}\s*(\{)(\s*;\R){0,}",Class:"Oim`n)^[\s|}]*(class\s+((\w|[^\x00-\x7F])+))[\s+extends\s+\w+\s*]*(\s*;.*\R){0,}\s*(\{)",Property:"Om`n)^[\s|}]*((\w|[^\x00-\x7F])+)\[(.*)\](\s*;.*\R){0,}\s*(\{)",Label:"UOm`n)^\s*((\w|[^\x00-\x7F])+):[\s|\R][\s+;]?",Hotkey:"OUi`nm)^\s*(((\w|[^\x00-\x7F]|#|!|\^|\+|~|\$|&|<|>|\*)+\s+&\s+)*(\w|[^\x00-\x7F]|#|!|\^|\+|~|\$|&|<|>|\*|-|\[|\]|\\|\;|\'|\,|\.|\/)+)::",Bookmark:"OU);#\[(.*)\]",Breakpoint:"OU);\*\[(.*)\]",Instance:"OUi)(\w+)\s*:=\s*new\s*(\w+)\("},v.OmniFindText:={Function:["OUm`n)^[\s|}]*(",")\((.*)\)(\s*;.*\R){0,}\s*(\{)"],Class:["Oim`n)^[\s|}]*(class\s+(","))[\s+extends\s+\w+\s*]*(\s*;.*\R){0,}\s*(\{)"],Method:["OUm`n)^[\s|}]*(",")\((.*)\)(\s*;.*\R){0,}\s*(\{)"],Property:["Om`n)^[\s|}]*(",")\[(.*)\](\s*;.*\R){0,}\s*(\{)"],Label:["UOm`n)^\s*(","):[\s|\R][\s+;]?"],Bookmark:["OU);#\[(",")\]"],Breakpoint:["OU);\*\[(",")\]"],Hotkey:["OUi`nm)^\s*(\Q","\E)::"],Instance:["OUi).*(",")\s*:=\s*new\s*(\w+)\("]},v.OmniFindMinimum:={Function:"OUm`n)^[\s|}]*((\w|[^\x00-\x7F])+)\(.*\)",Class:"Oim`n)^[\s|}]*(class\s+((\w|[^\x00-\x7F])+))",Property:"Om`n)^[\s|}]*((\w|[^\x00-\x7F])+)\[(.*)?\]"},v.OmniFindString:="OUm`n)(?^[\s|}]*((\w|[^\x00-\x7F])+)\((.*)\)(\s*;.*\R){0,}\s*(\{)(\s*;\R){0,})|(?^[\s|}]*(class\s+((\w|[^\x00-\x7F])+))[\s+extends\s+\w+\s*]*(\s*;.*\R){0,}\s*(\{))|(?^[\s|}]*((\w|[^\x00-\x7F])+)\[(.*)\](\s*;.*\R){0,}\s*(\{))|(?