increase code readibility
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user