pkulchenko / ZeroBraneStudio

Lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer; supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and other Lua interpreters on Windows, macOS, and Linux
http://studio.zerobrane.com/
Other
2.62k stars 516 forks source link

Ask for Help, assign custom Shortcut on toolbar button #1146

Open robertlzj opened 2 years ago

robertlzj commented 2 years ago

Hi, I'm trying to assign Accelerator on button in Find toolbar, for example 'Match whole word', and find its ID 'ID.FINDOPTWORD' in 'ZeroBraneStudio\src\editor\toolbar.lua' (normal in 'keymap.lua'), but configure in 'user.lua' keymap[ID.FINDOPTWORD] = "Alt-W" don't work . image