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:
commit
e747dce7fe
|
@ -180,7 +180,7 @@ local commands = {
|
||||||
local line, col = doc():get_selection()
|
local line, col = doc():get_selection()
|
||||||
doc():set_selection(line, col)
|
doc():set_selection(line, col)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
["doc:cut"] = function()
|
["doc:cut"] = function()
|
||||||
cut_or_copy(true)
|
cut_or_copy(true)
|
||||||
end,
|
end,
|
||||||
|
@ -402,11 +402,11 @@ local commands = {
|
||||||
end,
|
end,
|
||||||
|
|
||||||
["doc:upper-case"] = function()
|
["doc:upper-case"] = function()
|
||||||
doc():replace(string.upper)
|
doc():replace(string.uupper)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
["doc:lower-case"] = function()
|
["doc:lower-case"] = function()
|
||||||
doc():replace(string.lower)
|
doc():replace(string.ulower)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
["doc:go-to-line"] = function()
|
["doc:go-to-line"] = function()
|
||||||
|
|
Loading…
Reference in New Issue