Page 1 of 1

plugin Config Toolbar (CudaText)

Posted: 02.04.2017 15:00
by Alexey
Allows to config main toolbar (on the top):

1) Choose icon set, for standard buttons.
Many icon sets are shipped with plugin.

2) Config additional buttons (to standard buttons).
For additional buttons you can customize:
- caption,
- tooltip,
- icon file (size can be any, can mismatch icon set),
- command: usual CudaText commands and plugin commands allowed, you can choose both in menu (like Commands dialog)

Note: buttons can have caption only, or icon only, or caption+icon.
Note: buttons cannot be added during configuring session, they will add on CudaText start.

Posted: 08.01.2018 08:47
by Alexey
Big update to plugin.
Now dlg of button properties has property "Visible for lexers".
plugin can show buttons only for some lexers.
if this field empty - button is always visible, if not empty - it shows/hides when lexer changes.
char "-" is for none-lexer.
example:
-,html,css,php
(4 lexers with none-lexer).

Posted: 09.02.2018 10:48
by Alex842
Alexey, подскажите, как можно убрать стандартные кнопки с панели? В описании плагина написано, что нужно указать коды. А где взять эти коды? Например, для кнопки "миникарта".

Posted: 09.02.2018 10:57
by Alexey
Это номера кнопок от 0, считая палки, через пробел, напр.
0 1 2 10 12

Posted: 09.02.2018 11:01
by Alex842
Спасибо! Разобрался.

Posted: 10.05.2018 13:24
by lostip
Добрый день,
После команды "reset python plugins" все пользовательские кнопки начинают дублироваться.
Версия СТ 1.47.0.0, плагина 2018.02.26

Posted: 11.05.2018 08:18
by Alexey
Знаю про эту проблему, подумаю что тут делать.

Posted: 08.10.2018 18:59
by Alexey
Plugin has big update.
Now plugin ZIP file is 7..8 Mb in size. it has about 7 icons sets inside: Tango, Fugue, FatCow.
button "Icon,,," now allows to choose icon from these icon sets (before: any PNG file from OS).