Via the menu item Code Generation ▹ Delete Generated Code Lines you can delete the code lines that you have previously generated and inserted into the program window of HDevelop from within the OCR Assistant. Note that this works only as long as you have not yet released the code lines.