plugin Config Toolbar (CudaText)

Plugins for SynWrite and CudaText...
Post Reply
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

plugin Config Toolbar (CudaText)

Post 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.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post 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).
Alex842
Posts: 40
Joined: 25.10.2015 09:43

Post by Alex842 »

Alexey, подскажите, как можно убрать стандартные кнопки с панели? В описании плагина написано, что нужно указать коды. А где взять эти коды? Например, для кнопки "миникарта".
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Это номера кнопок от 0, считая палки, через пробел, напр.
0 1 2 10 12
Alex842
Posts: 40
Joined: 25.10.2015 09:43

Post by Alex842 »

Спасибо! Разобрался.
lostip
Posts: 3
Joined: 23.09.2017 13:42

Post by lostip »

Добрый день,
После команды "reset python plugins" все пользовательские кнопки начинают дублироваться.
Версия СТ 1.47.0.0, плагина 2018.02.26
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Знаю про эту проблему, подумаю что тут делать.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post 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).
Post Reply