From 1d1b3e0a09d6da91edd609643887127a725240d7 Mon Sep 17 00:00:00 2001 From: jgmdev Date: Thu, 12 May 2022 18:33:56 -0400 Subject: [PATCH] Add utf8 support on doc lower and upper commands --- data/core/commands/doc.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/core/commands/doc.lua b/data/core/commands/doc.lua index ed35913a..87079180 100644 --- a/data/core/commands/doc.lua +++ b/data/core/commands/doc.lua @@ -180,7 +180,7 @@ local commands = { local line, col = doc():get_selection() doc():set_selection(line, col) end, - + ["doc:cut"] = function() cut_or_copy(true) end, @@ -402,11 +402,11 @@ local commands = { end, ["doc:upper-case"] = function() - doc():replace(string.upper) + doc():replace(string.uupper) end, ["doc:lower-case"] = function() - doc():replace(string.lower) + doc():replace(string.ulower) end, ["doc:go-to-line"] = function()