ContextMenu plugin
- Author
- Message
-
Offline
- Posts: 381
- Joined: Wed Sep 28, 2011 3:05 pm
Есть ли способ показывать в контекстном меню сочетание клавиш, которое назначено в плагине "Горячие клавиши"?
Можно, конечно, писать вручную, вроде
но тут сочетание идет сразу за названием действия. Как это сочетание выравнять по правой стороне контекстного меню, как, например у таких пунктов как "" Command(4151), "" Command(4182) и пр. без флага SET(8 )?
Можно, конечно, писать вручную, вроде
Code: Select all
"сделать то-то Ctrl+Alt+Del" Call("Scripts::Main", 1, "script.js")
-
Offline
- Posts: 84
- Joined: Wed Jan 27, 2016 6:53 pm
- Location: Europe
Hello,
the context menu needs to have indicators (underlined letter) of what will happen when a key is pressed. E.g. when I hit "o" when the context menu is shown, the context menu disappears, i.e. it must have a function, but I cannot (immediately) see which. When I hit "u", it does not disappear. For example, the N of Undo be underlined.
----
My context menu looks like this:
undo
redo
cut
copy
paste
delete
select all
scripts
format
BBCode
scroll
mark
syntax
color
hex
stat
fullscreen
I would like to remove "undo", "redo", and "delete", and I would like to put "Copy" to the top of the list (instead of Undo or Cut).
(I have translated and read ~ten pages of this thread but found not answers. sorry.)
Thank you!
the context menu needs to have indicators (underlined letter) of what will happen when a key is pressed. E.g. when I hit "o" when the context menu is shown, the context menu disappears, i.e. it must have a function, but I cannot (immediately) see which. When I hit "u", it does not disappear. For example, the N of Undo be underlined.
----
My context menu looks like this:
undo
redo
cut
copy
paste
delete
select all
scripts
format
BBCode
scroll
mark
syntax
color
hex
stat
fullscreen
I would like to remove "undo", "redo", and "delete", and I would like to put "Copy" to the top of the list (instead of Undo or Cut).
(I have translated and read ~ten pages of this thread but found not answers. sorry.)
Thank you!
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
SaFeTyPe
The indicators (underlined letters) are visible if you call context menu from keyboard.
If you call menu by mouse, the indicators are not visible.
You can change context menu.
In "Plugins" dialog select "ContextMenu::Main" and press OK.
Next in "ContextMenu plugin" dialog select "Edit menu" (ComboBox).
Read documentation: ...\AkelPad\AkelFiles\Docs\ContextMenu-Eng.txt.
The indicators (underlined letters) are visible if you call context menu from keyboard.
If you call menu by mouse, the indicators are not visible.
You can change context menu.
In "Plugins" dialog select "ContextMenu::Main" and press OK.
Next in "ContextMenu plugin" dialog select "Edit menu" (ComboBox).
Read documentation: ...\AkelPad\AkelFiles\Docs\ContextMenu-Eng.txt.
-
Offline
- Posts: 202
- Joined: Sat Mar 28, 2015 2:36 pm
- Location: Russia
Instructor
Помню, было уже. Но что-то опять не лады.
Если есть такая кнопка\пункт меню
то, при отключении Coder::CodeFold, получаем следующие сообщения:
Помню, было уже. Но что-то опять не лады.
Если есть такая кнопка\пункт меню
Code: Select all
SET(128, If(`Call("Coder::CodeFold", 1, &nResult)`, 0x1, 0x0))
"CodeFold" Call("Coder::CodeFold", 1)
UNSET(128)
Code: Select all
---------------------------
Coder::CodeFold
---------------------------
Загрузите сперва Coder::CodeFold.
---------------------------
ToolBar плагин
---------------------------
If: SET(128) изменил фокус окна.
-
Offline
- Site Admin
- Posts: 6311
- Joined: Thu Jul 06, 2006 7:20 am
Исправлено: зависание после сообщения "If: SET(128) изменил фокус окна.".
Fixed: hang after message "If: SET(128) changed window focus.".
ContextMenu plugin v17.4
Fixed: hang after message "If: SET(128) changed window focus.".
ContextMenu plugin v17.4
-
Offline
- Site Admin
- Posts: 6311
- Joined: Thu Jul 06, 2006 7:20 am
Исправлено: обновление INCLUDE в версии 17.4.
Fixed: update INCLUDE in version 17.4.
ContextMenu plugin v17.5
Fixed: update INCLUDE in version 17.4.
ContextMenu plugin v17.5
-
Offline
- Posts: 202
- Joined: Sat Mar 28, 2015 2:36 pm
- Location: Russia
Instructor
Достал Вас, наверное? Но опять длинный репорт.
Из своего скрипта вывожу на тулбаре, под кнопкой, некоторое меню (для его создания использую ShowMenu.js). Если его не закрыть,
а сразу щелкнуть на главном меню, где есть:
AkelPad виснет. Можно конечно было и покороче: если работает скрипт, не использующий AkelPad.ScriptNoMutex(), AkelPad виснет.
Достал Вас, наверное? Но опять длинный репорт.
Из своего скрипта вывожу на тулбаре, под кнопкой, некоторое меню (для его создания использую ShowMenu.js). Если его не закрыть,
а сразу щелкнуть на главном меню, где есть:
Code: Select all
SET(128, If(`Call("Scripts::Main", 4, "EvalCmd.js", 'if (AkelPad.GetEditFile(0)) AkelPad.ScriptExitCode(1);')`, 0x0, 0x2))
"Закрыть Ctrl+F4" Command(4318) (Это только пример)
UNSET(128)
-
Offline
- Posts: 202
- Joined: Sat Mar 28, 2015 2:36 pm
- Location: Russia
Instructor
Эта строка скопирована (не напрягая мозг) из описания в ContextMenu-Rus.txt
Достаточно заменить 4 на 2 (хотя бы в первом пункте меню (если их несколько)), то все работает без ошибок. И без правки скриптов.
Спасибо.
Эта строка скопирована (не напрягая мозг) из описания в ContextMenu-Rus.txt
Code: Select all
If(`Call("Scripts::Main", 4, "EvalCmd.js"...
Спасибо.
-
Offline
- Posts: 3217
- Joined: Wed Nov 29, 2006 1:19 pm
- Location: Киев, Русь
- Contact: