increase code readibility

This commit is contained in:
Takase 2021-08-17 20:16:56 +08:00 committed by Francesco
parent cf7ebdad1f
commit 816ceb4493
1 changed files with 2 additions and 1 deletions

View File

@ -138,7 +138,8 @@ function Doc:get_selection_text(limit)
end
function Doc:has_selection()
local line1, col1, line2, col2 = self:get_selection(false) return line1 ~= line2 or col1 ~= col2
local line1, col1, line2, col2 = self:get_selection(false)
return line1 ~= line2 or col1 ~= col2
end
function Doc:sanitize_selection()