Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEdit 5th round: MB.DELETE on a FIELD deletes the ImageObj but does not delete the PRELABEL, the POSTLABEL and the field value #1890

Open
fghalasz opened this issue Dec 2, 2024 · 1 comment
Assignees
Labels
bug Something isn't working (as per documentation)

Comments

@fghalasz
Copy link
Member

fghalasz commented Dec 2, 2024

Branch: rmk36--Tedit-fifth-round-2, Commit: 1bfaa03

MB.DELETE on a FIELD deletes the zero-width imageobj that marks the field insertion point, but it leaves the PRELABEL, the POSTLABEL, the {}, and any field value intact. The PRE and POSTLABELs and the {} remain protected and cannot be deleted.

Deletion of the zero-width imageobj confirmed by comparing before/after TEDIT.MAP.OBJECTS calls.

@fghalasz fghalasz added the bug Something isn't working (as per documentation) label Dec 2, 2024
@fghalasz fghalasz added this to tedit Dec 2, 2024
@rmkaplan
Copy link
Contributor

rmkaplan commented Dec 5, 2024

This should be fixed in the last fifth-round commit. The pre and post labels are now part of the prefix and suffix image objects, so they go when the image objects go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working (as per documentation)
Projects
Status: No status
Development

No branches or pull requests

2 participants