Suggested corrections for a code error are provided by a compiler or code
editor, for example. Thus, there is much less ambiguity about how an
error should be corrected. Preferably, a predetermined number of
suggested corrections are presented to the user (e.g., up to three
suggestions), and the user can choose a desired suggested correction.
Corrections for a given error can be made, not only at the location of
the error, but throughout the code document, or other files in the user's
solution. Furthermore, by undoing one correction and trying another, the
user can go through all of the suggested corrections to determine which
suggestion would be most preferable.