increase code readibility
This commit is contained in:
parent
cf7ebdad1f
commit
816ceb4493
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue