You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is not too difficult, the (1-indexed) column can be computed as loc - start + 1 provided state != token_list.
I already have a proof of concept implementation at user202729/luatex@synctex-column , which appears to work reasonably for simple documents.
I'd like to ask:
is there sufficient interest in this idea?
while I implement this, I don't really understand the memory layout, which leads to me packing the line and column into a single int like a bit mask. This leads to a limitation of file length less than $2^{24}$ lines and column less than $2^8$.
How can I modify the memory layout to add an extra field column into the box?
The text was updated successfully, but these errors were encountered:
I think this is not too difficult, the (1-indexed) column can be computed as
loc - start + 1
providedstate != token_list
.I already have a proof of concept implementation at user202729/luatex@synctex-column , which appears to work reasonably for simple documents.
I'd like to ask:
is there sufficient interest in this idea?
while I implement this, I don't really understand the memory layout, which leads to me packing the$2^{24}$ lines and column less than $2^8$ .
line
andcolumn
into a singleint
like a bit mask. This leads to a limitation of file length less thanHow can I modify the memory layout to add an extra field
column
into the box?The text was updated successfully, but these errors were encountered: