Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


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

Sleep(1000)

WEnd

Func CaptureKey()

MsgBox(0,0,@HotKeyPressed) ; bug @HotKeyPressed is assigned 3 characters AutoIt help manual says to enclose these in brackets !#+{} making 3 characters, but @HotKeyPressed should be 1 characters because the above characters are enclosed in right and left brackets

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 }
Note: See TracQuery for help on using queries.