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

rstrickland 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 3ca9b5c  Resolved Selection Highlighting Rescend - Updated selection 
partition calculations to calculate against the `VIEWPORT_CAPACITY_MAX`.
3ca9b5c is described below

commit 3ca9b5cedaf8369855a50b30421b474b15b0bdd4
Author: Robert Strickland <[email protected]>
AuthorDate: Wed May 1 12:03:25 2024 -0500

    Resolved Selection Highlighting Rescend
    - Updated selection partition calculations to calculate against the 
`VIEWPORT_CAPACITY_MAX`.
    
    Closes #1019
---
 src/svelte/src/utilities/highlights.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/svelte/src/utilities/highlights.ts 
b/src/svelte/src/utilities/highlights.ts
index 2a381a2..e00cca1 100644
--- a/src/svelte/src/utilities/highlights.ts
+++ b/src/svelte/src/utilities/highlights.ts
@@ -106,7 +106,7 @@ class ViewportByteIndications extends 
SimpleWritable<Uint8Array> {
         }),
         generateSelectionCategoryParition(
           Math.max(originalEnd, editedEnd),
-          VIEWPORT_CAPACITY_MAX - start,
+          VIEWPORT_CAPACITY_MAX,
           (byte) => {
             byte[0] &= ~category1.indexOf('selected')
           }

Reply via email to