@Skif-off
Thank you very much for working on this.
All the tools worked great but one.
The "Capitalize just the first letter" tool generated an error message.

I changed this

  local s1= string.upper(string.sub(s, 1, 1))
  local s1 =  string.lower(string.sub(s, 2, -1))

To this

  local s1 = string.upper(string.sub(s, 1, 1))
  local s2 = string.lower(string.sub(s, 2, -1))

Which removed the error and works but it only applies the tool to one line or the first line if multiple lines ares selected.
The apple tree
the pear tree

If can figure out why this does not apply to multiple lines, you can just update the original version of the code you posted above.
I noticed one more thing but I will mention in post below this one, if interested.

Thank You


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/repo-discussions/4086/comments/11455551@github.com>