combine a new result from the spell checker to
find the one with the closest symbol with
respect to the cost defined by the search function
Input/Output:
p best found spelling (NULL if none found yet)
cost cost of p (INT_MAX if none found yet)
Input:
np new found spelling (NULL if none found)
ncost cost of np if non-NULL
combine a new result from the spell checker to find the one with the closest symbol with respect to the cost defined by the search function Input/Output: p best found spelling (NULL if none found yet) cost cost of p (INT_MAX if none found yet) Input: np new found spelling (NULL if none found) ncost cost of np if non-NULL