Input implementation progress

This commit is contained in:
Insality
2020-04-18 00:45:18 +03:00
parent 08e93c7423
commit be26478c21
10 changed files with 105 additions and 23 deletions

View File

@@ -194,4 +194,12 @@ function M.set_pivot(self, pivot)
end
--- Return true, if text with line break
-- @function text:is_multiline
-- @treturn boolean Is text node with line break
function M.is_multiline(self)
return gui.get_line_break(self.node)
end
return M