increase code readibility

This commit is contained in:
Takase
2021-08-24 11:35:53 +02:00
committed by Francesco
parent cf7ebdad1f
commit 816ceb4493
+2 -1
View File
@@ -138,7 +138,8 @@ function Doc:get_selection_text(limit)
end end
function Doc:has_selection() 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 end
function Doc:sanitize_selection() function Doc:sanitize_selection()