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

In TEdit (5th round) menu buttons: clicking in POSTLABEL of FIELD button does not position insert caret correctly #1889

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

Insert multiple FIELD buttons with PRELABELS and POSTLABELS into a textstream.

Clicking on the PRELABEL of any of the fields moves the insert cursor to the beginning of the {} field as expected.

Clicking on the POSTLABEL places the insert cursor incorrectly. Specifically, if this is the first FIELD or if this FIELD is preceded by a character (i.e., not another FIELD ), then the insert cursor is placed just before the PRELABEL.

If there is a sequence of FIELDs with no intervening characters (or imageobjs), then when clicking on the POSTLABELs will place the insert cursor before the PRELABEL of the FIRST FIELD in the sequence.

@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 current fifth round commit, please check.

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