Skip to content

Commit

Permalink
refactor(packages): Remove unused typesetter-scoped cursor tracking
Browse files Browse the repository at this point in the history
This was present since the very first commit of the raiselower
package, but we do not have any use of such a thing anywhere else
in the code base.
  • Loading branch information
Omikhleia authored and alerque committed Feb 7, 2024
1 parent ebdbcc9 commit 23697f9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/raiselower/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ local function raise (height, content)
SILE.process(content)
SILE.typesetter:pushHbox({
outputYourself = function (_, typesetter, _)
if (type(typesetter.state.cursorY)) == "table" then
typesetter.state.cursorY = typesetter.state.cursorY.length
end
typesetter.frame:advancePageDirection(height)
end
})
Expand Down

0 comments on commit 23697f9

Please sign in to comment.