Fixed missing \n while pasting from real buffer, added ctrl+x line deletion feature

This commit is contained in:
Igor Timofeev 2018-09-10 20:03:37 +03:00
parent 90a5fed189
commit aa3e73a616

View File

@ -1374,7 +1374,11 @@ codeView.eventHandler = function(mainContainer, object, e1, e2, e3, e4, e5)
paste(clipboard)
-- X
elseif e4 == 45 then
cut()
if codeView.selections[1] then
cut()
else
deleteLine(cursorPositionLine)
end
-- N
elseif e4 == 49 then
newFile()