23.1. Let's write the saveDocument() method for saving the current file. The method should work the same as saveDocumentAs(), but not ask the user for a file. Instead, it should use currentFile. If currentFile is null, then call the saveDocumentAs() method.
HTML Editor (part 23)
You must be signed in to leave a comment
This page doesn't have any comments yet