magicpen
magicpen copied to clipboard
Consider making all callback methods happen at serialization time
When calling append
, block
, amend
and prependLinesWith
with a function the function will be executed at serialization time and know the context it is inserted into.
The is breaking and would deprecate pen.size()
. Instead you could get the size that is left on the current line.