Page 1 of 2
plugin Color Text
Posted: 19.02.2018 09:29
by RamSoft
Rewritten plugin which existed for SynWrite
+ Works with unicode
+ CudaText specific
+ Config file
https://github.com/iRamSoft/cuda_color_text
Posted: 19.02.2018 12:49
by Alexey
Вы молодец... Проверю и если все нормально- положу в AddonMan.
Posted: 26.02.2018 11:35
by miro.matas
looks very promising!
Posted: 04.03.2018 22:52
by miro.matas
• is possible to save "colorized words"? (aka SynWrite to *.synw-filestyles)
• is possible to colorize only selected word and not all the same words? (all_words=1 not works for me, I am sorry)
• duplicates of "whole_words=0", styles.ini - by mistake? or some reason
I am able to use this useful plugin, it works fine (mostly), but if will be not possible to save "colorization", than the colors will be used just for HTML Export… what is also BIG plus, of course. So not saving colors of words is by intention? or it is on roadmap?
TIA
Miro
Posted: 05.03.2018 08:50
by Alexey
Plugin updated.
- dup lines in .ini file- fixed, you must del dups from your copy
- all_words=0 work, I checked
Posted wish to
https://github.com/iRamSoft/cuda_color_text/issues/23
Posted: 05.03.2018 20:49
by miro.matas
Thanks a lot - all_words=0/1 works fine now (after update).
regarding >>
https://github.com/iRamSoft/cuda_color_text/issues/23 - doesn't matter if two or one plugin, will be good to have an option for save/not_save helper file
TIA for any progress at this case, really thanks a lot
Posted: 27.07.2018 23:25
by Alexey
Plugin updated.
Now it saves color attribs to helper file *.cuda-colortext, and restores attrs later on file opening.
Posted: 30.07.2018 07:26
by miro.matas
I am not able to apply the same Color Style X more then once at text…
what is bad on configuration?
Color Style Bold (or It.) is possible to use more time…
TIA
Miro
Posted: 30.07.2018 12:40
by Alexey
Hot fix: in __init__.py of plugin you see
Code: Select all
def do_color(ed, n):
ed.attr(MARKERS_DELETE_BY_TAG, TAG_UNIQ + n)
delete the this line: ed.attr(MARK....)
==
plugin updated.
Posted: 31.07.2018 08:47
by miro.matas
works very well, thanks a lot
for some of future updates… will be good to synchronize action "file: close, delete" also for related .cuda-colortext file (do not leave orphan file on disk)
not critical