previous up next     contents index
Next: write Up: wx:snip Previous: size-cache-invalid

split

   

Splits the snip into two snips. This is called when a snip has more than one item and something is inserted between two items.

The arguments are a position integer and two boxes. The position integer specifies how many items should be given to the new first snip; the rest go to the new second snip. The two boxes must be filled with two new snips. (The old snip is no longer used, so it can be recycled as a new snip.)



PLT