Closed RealRaven2000 closed 4 months ago
Here is new version with the funciton added. Result:
By highlighting a line below (even if it has additional HTML such as bold or colored) we can transform it to a cursive string replacing all instances of ">>" with the Guillemet (right pointing double angle quotation mark) by using the following fragment:
<i>%replaceText(">>","»",selection)%</i>
At the moment if removes the existing selection state, so re-selecting the inserted string would be a nice-to-have. But this is already very useful to me!
To install, download archive and drop into Thunderbird Add-ns Manager (don't extract contents).
Found some regressions that made %matchTextFromBody()%
misbehave. Fixed in the version below:
To install, download archive and drop into Thunderbird Add-ns Manager (don't extract contents).
Added documentation in Variables tab + localized to most supported languages:
To install, download archive and drop into Thunderbird Add-ns Manager (don't extract contents).
Found another regression that had problems with multiple smartTempalte variables in the same line (overmatching and combining multiple lines) such as To: "%to(name)%"<%to("( %",mail)%>
this one should be more stable
To install, download archive and drop into Thunderbird Add-ns Manager (don't extract contents).
Implemented in 4.5 released on 14/05/2024
Usage:
We want to do replacements in the selected text, for instance, the string
Menu >> submenu >> command
should be transformed into
Menu » submenu » command
Additionally we could add some markup to display the text in italic (or wrap a layout span around it). Example for such a smart fragment:
Ideally the text (html) should still be selected after the replacement operation, this way we could concatenate multiple such commands for some powerful formatting.