Virtual Method
IpuzCrosswordfix_clues
Declaration [src]
void
fix_clues (
IpuzCrossword* self
)
Description [src]
Ensures that there are IpuzClue
s for every sequenctial
run of across or down normal cells of two or more. This will
potentially add or remove existing clues as necessary.
This method will do its best to persist clues where possible. It
does that by keeping track of the cells that the prior clues used,
and copying over their answers to any new cells occupying the same
location. The oldclues will be unreffed by self
, and should not be
considered useful after this has been run.
ipuz_crossword_fix_numbering()
should be called prior to
calling this function, as this uses the existing numbering to
annotate the created clues.
In addition, subclasses of IpuzCrossword
may do further fixups.