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 7ff57b2  Reverting changes clears data highlighting
7ff57b2 is described below

commit 7ff57b2f8c21dc285b73859a4827e08fe1633692
Author: Robert Strickland <[email protected]>
AuthorDate: Mon Feb 2 13:22:19 2026 -0600

    Reverting changes clears data highlighting
---
 src/svelte/src/App.svelte | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/svelte/src/App.svelte b/src/svelte/src/App.svelte
index 771887b..dd79899 100644
--- a/src/svelte/src/App.svelte
+++ b/src/svelte/src/App.svelte
@@ -64,6 +64,7 @@ limitations under the License.
   } from './components/DataDisplays/CustomByteDisplay/BinaryData'
   import { byte_count_divisible_offset } from './utilities/display'
   import Help from './components/layouts/Help.svelte'
+  import { viewportByteIndicators } from 'utilities/highlights'
 
   function requestEditedData() {
     if ($requestable) {
@@ -253,6 +254,8 @@ limitations under the License.
     $selectionDataStore = new SelectionData_t()
     $editorSelection = ''
     $editedDataSegment = new Uint8Array(0)
+    viewportByteIndicators.clearIndication('replacement')
+    viewportByteIndicators.clearIndication('searchresult')
   }
 
   function clearQueryableData() {

Reply via email to