|FAQ about patches|||||More patches|||||Main Page|||||SHA256 digest for this patch|
Paint special text in the body of the message in any custom color
Patch is available for version: alpine snapshot alpine 0.83 alpine 0.98 alpine 0.99 alpine 0.999 alpine 0.9999 alpine 0.99999 alpine 0.999999 alpine 1.99 alpine 1.999 alpine 2.19.4 alpine 2.19.5 alpine 2.19.6 alpine 2.19.7 alpine 2.19.99 alpine 2.20.1 alpine 2.20.3 alpine 2.20.4 alpine 2.20.5 alpine 2.20.6 alpine 2.20.7 alpine 2.20.8 alpine 2.20.9 alpine 2.20.11 alpine 2.20.12 alpine 2.20.13 alpine 2.20.14 alpine 2.20.15 alpine 2.20.16 alpine 2.20.17 alpine 2.20.99 alpine 2.20.999 alpine 2.21.9 alpine 2.21.999 alpine 2.21.9999 alpine 2.22.1 alpine 2.23.1 alpine 2.23.2
In order to use this option, you must define the variable special-text-color, as a comma separated list of regular expressions (or simply text), that you want to have colored.
Additionally, you must define the variables special-text-foreground-color and special-text-background-color, which specify the colors in which the special text will be painted. Notice that this variable must be defined, since otherwise you will not see any difference in the painted text (the default is to paint this text as if it were normal text). These variables can be defined from the Kolor configuration screen (which can be reached by pressing M S K), and setting the variable Special-text Color.
When this patch is integrated with the all.patch, quote strings are ignored when painting special text, which is not the case when the patch is applied as an stand alone patch (and in fact, if you try to paint a ">" character using this patch, this will destroy painting of quoted text). I may add this functionality later
Here's an example of what this patch does. Say you want Alpine to paint the word "love", then you could define special-text-color=love, and say you define that you want Alpine to paint that text red, then the text
All we need is love
would look like
All we need is love
This link shows you an image how Alpine looks when the word Alpine has been painted in red. in a real message. Observe that Alpine still recognizes quote levels correctly. This image shows the patch integrated with all.patch.
Last Updated 16:25:57 MDT Mon Jun 29 2020.