From ba73c5f569ad7d5c58397716f05fc8a32e3ebfe9 Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Sat, 29 Aug 2020 17:30:39 -0500 Subject: [PATCH] electron: sync w/ filesystem, no more replaceSelection() --- electron-preload.js | 1 - electron.html | 5 ++--- electron.js | 46 +++++++++++++++++++++++++++++++++++---------- index.html | 5 ++--- meta/electron.diff | 6 +++--- src/ide/project.ts | 1 + src/ide/ui.ts | 7 +++++-- src/ide/views.ts | 3 +++ src/ide/windows.ts | 2 +- 9 files changed, 53 insertions(+), 23 deletions(-) diff --git a/electron-preload.js b/electron-preload.js index b60016f5..0b5c82be 100644 --- a/electron-preload.js +++ b/electron-preload.js @@ -41,7 +41,6 @@ process.once('loaded', () => { // from electron.js: file changed ipcRenderer.on('fileChanged', (event, data) => { var path = data.path; - console.log('fileChanged', path); window.reloadWorkspaceFile(path); }); }); diff --git a/electron.html b/electron.html index 798eae63..679f582b 100644 --- a/electron.html +++ b/electron.html @@ -197,7 +197,7 @@ Sentry.init({