(theFileEntry)
| 51 | } |
| 52 | |
| 53 | function readFileIntoEditor(theFileEntry) { |
| 54 | fs.readFile(theFileEntry, function (err, data) { |
| 55 | if (err) { |
| 56 | console.log("Read failed: " + err); |
| 57 | } |
| 58 | |
| 59 | handleDocumentChange(theFileEntry); |
| 60 | editor.setValue(String(data)); |
| 61 | }); |
| 62 | } |
| 63 | |
| 64 | function writeEditorToFile(theFileEntry) { |
| 65 | var str = editor.getValue(); |
no test coverage detected