From 07991329fc03f380a905a980788dbe2ac0b8f494 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 17 Mar 2025 17:47:44 +0900 Subject: [PATCH] Update editor.html --- WelsonJS.Toolkit/WelsonJS.Launcher/editor.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/editor.html b/WelsonJS.Toolkit/WelsonJS.Launcher/editor.html index 0b358fb..216ceba 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/editor.html +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/editor.html @@ -184,7 +184,7 @@ const range = new monaco.Range(position.lineNumber, position.column, position.lineNumber, position.column); editor.executeEdits("my-source", [{ range: range, - text: text, + text: "\n" + text, forceMoveMarkers: true }]); resizeEditor(); @@ -234,7 +234,7 @@ return; } - appendTextToEditor("\n\n// " + promptMessage + "... Thinking with Generative AI..."); + appendTextToEditor("\n// " + promptMessage + "... Thinking with Generative AI..."); (async function () { const targetWsUrl = await getTargetByUrl('copilot.microsoft.com');