This is an automated email from the ASF dual-hosted git repository.

davin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil-vscode.git


The following commit(s) were added to refs/heads/main by this push:
     new 5199d58  Multiple fixes:
5199d58 is described below

commit 5199d58c5db5748da49f8d1bc73ce70eb5d25982
Author: LRBarber <[email protected]>
AuthorDate: Fri Mar 15 16:43:19 2024 -0400

    Multiple fixes:
    
    - Correcting mismatch in header/description of infoset/diff viewer in 
launch config wizard.
    - Correcting error in Windows path that prevented infoset diff viewer from 
opening files.
    
    Closes #985
    Closes #986
---
 src/infoset.ts                   | 4 ++--
 src/launchWizard/launchWizard.ts | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/infoset.ts b/src/infoset.ts
index 278fd8d..6f8f20a 100644
--- a/src/infoset.ts
+++ b/src/infoset.ts
@@ -147,8 +147,8 @@ export async function activate(ctx: 
vscode.ExtensionContext) {
         let prev = ensureFile(`${path}.prev`)
         vscode.commands.executeCommand(
           'vscode.diff',
-          Uri.parse(prev),
-          Uri.parse(path),
+          Uri.file(prev),
+          Uri.file(path),
           'Previous ↔ Current',
           { preview: false, viewColumn: vscode.ViewColumn.Two }
         )
diff --git a/src/launchWizard/launchWizard.ts b/src/launchWizard/launchWizard.ts
index ac88fb8..ad23c26 100644
--- a/src/launchWizard/launchWizard.ts
+++ b/src/launchWizard/launchWizard.ts
@@ -669,7 +669,7 @@ class LaunchWizard {
 
       <div id="openInfosetDiffViewDiv" class="setting-div" 
onclick="check('openInfosetDiffView')">
         <p>Open Infoset Diff View:</p>
-        <label class="container">Open infoset view on debug start.
+        <label class="container">Open infoset diff on debug start.
           <input type="checkbox" id="openInfosetDiffView" 
${openInfosetDiffView}>
           <span class="checkmark"></span>
         </label>
@@ -677,7 +677,7 @@ class LaunchWizard {
 
       <div id="openInfosetViewDiv" class="setting-div" 
onclick="check('openInfosetView')">
         <p>Open Infoset View:</p>
-        <label class="container">Open infoset diff on debug start.
+        <label class="container">Open infoset view on debug start.
           <input type="checkbox" id="openInfosetView" ${openInfosetView}>
           <span class="checkmark"></span>
         </label>

Reply via email to