resolve conflicts
Dependencies
- [2]
OEIR7M74Merge lines.love - [3]
RYDNS7OBresolve conflicts - [4]
B4USRORMdisable DPI scaling - [5]
I64IPGJXavoid saving fragments in lines - [6]
RLCO2SNKwrap lines like lines2 forks - [7]
T42Y5MLOexplicitly specify app name - [8]
PFT5Y2ZYmove - [9]
R5OKMVVCfix a regression in line wrapping - [*]
BULPIBEGbeginnings of a module for the text editor
Change contents
- resurrect zombie in text.lua at line 154
endendfunction Text.populate_link_offsets(State, line_index)local line = State.lines[line_index]if line.mode ~= 'text' then return endlocal line_cache = State.line_cache[line_index]if line_cache.link_offsets thenreturnendline_cache.link_offsets = {}local pos = 1-- try to wrap at word boundarieslocal s, e = 1, 0while s <= #line.data dos, e = line.data:find('%w+', s)if s == nil then break endlocal word = line.data:sub(s, e)if file_exists(word) then--? print('filename:', s, e, word)table.insert(line_cache.link_offsets, {s, e, word})ends = e + 1 - edit in text.lua at line 155
return true - edit in text.lua at line 179
return true - resurrect zombie in conf.lua at line 3
t.window.usedpiscale = false - resolve order conflict in conf.lua at line 3