fix line wrap in a comment

This commit is contained in:
Kartik K. Agaram 2024-09-03 15:23:41 -07:00
parent 64a4282ffd
commit ff04771be0
1 changed files with 2 additions and 3 deletions

View File

@ -545,9 +545,8 @@ function edit.get_rect(editor, loc)
end
end
-- generate rects for each screen line in it and the range [pos,pos+dpos-1]
-- associated with each within each screen line generate rects for each char
-- (utf8 codepoint) and the pos associated with each.
-- generate rects for each screen line in it and the range [pos,pos+dpos-1] associated with each
-- within each screen line generate rects for each char (utf8 codepoint) and the pos associated with each.
function Text.get_rect(editor, loc)
local line = editor.lines[loc.line]
assert(line.mode == 'text')