Custom Query
Results (100 - 102 of 3866)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#3845 | No Bug | Hotkeys don't work | Jos | anonymous |
Description |
Hotkeys do not work when SciTE is launched with a non-english keyboard layout. SciTE 4.4.6 Windows 10 Pro 21H1 19043.1110 |
|||
#3844 | Fixed | Right bracket does not register as a hotkey | Jon | gemtoc |
Description |
HotKeySet("{}}","CaptureKey") ; bug right brace does not register as a hotkey, autoit help manual says this is correct syntax. While 1
WEnd Func CaptureKey()
EndFunc |
|||
#3843 | Fixed | SciTE tool "Jump to Function Prod" unable to find function definition while execution is fine | anonymous | |
Description |
In the case where local files are included with "<>", SciTE tool "Jump to Function Prod" unable to find function definition while execution is fine Steps to reproduce: Create 3 files. test.au3 #include <b\a.au3> bfunc() b\a.au3 #include-once #include <b.au3> b\b.au3 #include-once Func bfunc() ConsoleWrite("bfunc" & @CRLF) EndFunc From test.au3, try "Jump to Function Prod" on "bfunc". The console will display "Unable to find function definition: bfunc" From my analysis, AutoItGotoDefinition:GetIncludes is made under the assumption that local files are always included with quotes. However, this style is not enforced by the runner. Should this be considered as a bug? As a workaround, I patched the file AutoIt3\SciTE\lua\AutoItGotoDefinition.lua like this --- a\AutoIt3\SciTE\lua\AutoItGotoDefinition.lua +++ b\AutoIt3\SciTE\lua\AutoItGotoDefinition.lua @@ -164,6 +164,10 @@ for line in io.lines(file) do -- Force lower case local include = line:match(pattern_library) + if include and cpath ~= "" and self:FileExists(cpath .. include) then + include = cpath .. include + self:DebugPrint("Include3 updated: " .. cpath .. include) + end if include and not files[include] then self:DebugPrint("Include1: " .. include) files[include] = { IsLibrary=true, Processed=false } |