Merge pull request #986 from jgmdev/PR/doc-upper-lower-utf8

Add utf8 support on doc lower and upper commands
This commit is contained in:
Jefferson González 2022-05-12 18:56:13 -04:00 committed by GitHub
commit e747dce7fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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()