stricklandrbls commented on PR #883: URL: https://github.com/apache/daffodil-vscode/pull/883#issuecomment-1789479605
> I need those 3 bytes replaced with the new bytes (growing the file by 7 bytes), not just overwrite 10 bytes with 10 new bytes. Is that not fundamentally how the `applyChanges` event works? Even on the extension side the message data members are: - `originalDataSegment` - The selected data from the unedited _viewport_ perspective. - `editedSegment` - The segment of data to replace the original. - `offset` - Where in the viewport to apply the overwrite. The highlights are based off the byte length of the `selectionDataStore`  Here I append `abc` to `PDF` and the replacement results is `PDFabc-1...` growing the file by 3 bytes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
