plugin Color Text

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

Post by Alexey »

Now API don't have on_filedelete, so... maybe later.
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Post by main Alexey »

Plugin was updated. config file format was changed, and now you can specify not only background-color but also font-color. and now can use underline and all-4-borders styles.
SamC
Posts: 208
Joined: 12.08.2023 00:49

Color Text plugin

Post by SamC »

In the color text plugni, the color list is given by #RRGGBB, and if I want to assign COLOR_NONE in cuda_color_text.ini, how to assign it? As the alpha information in lack in #RRGGBB style.
I'm not familiar with HTML color definition, Please give some guidance.
Thanks!

1=#FF7070
COLOR_NONE = 0x1FFFFFFF
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Re: COLOR Color Text plugin

Post by main Alexey »

do you want to assign 'none color' for background color of block? in this case, just remove the styled block.
SamC
Posts: 208
Joined: 12.08.2023 00:49

Re: COLOR Color Text plugin

Post by SamC »

In Color Text plugin, we can assign a list for style1, like [backcolor, fontcolor, bodercolor], I want to make a style just change the fontcolor, Thus a none color is needed for the first item of the list and 3rd one.
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Re: COLOR Color Text plugin

Post by main Alexey »

seems the empty value of color - means color_none. I just checked. this config line:

Code: Select all

2=,#00FF00,,bi
makes only green-font-color + bold+italic.
SamC
Posts: 208
Joined: 12.08.2023 00:49

Re: COLOR Color Text plugin

Post by SamC »

main Alexey wrote: 04.09.2023 10:08 seems the empty value of color - means color_none. I just checked. this config line:

Code: Select all

2=,#00FF00,,bi
makes only green-font-color + bold+italic.
It works, thanks!
SamC
Posts: 208
Joined: 12.08.2023 00:49

Color Text plugin issues

Post by SamC »

If certain line (like line No.10) is colored by color-text plugin, when do the "move selected lines up/down" , the color of the line context will lose and leave to the original line position. When we add newlines, the lines will move with the color.
Is it possible to keep the color with the moving line whe useing "move selected lines up/down"?
Thanks!
main Alexey
Posts: 2265
Joined: 25.08.2021 18:15

Re: color text plugin

Post by main Alexey »

Sorry but no, current attribute changing can be caused by
- deleting a line
- inserting a line
but not by 'moving a line(s)'.
Post Reply