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

Preserve the text range after cellIn after xmlSetValue #178

Open
bvw opened this issue Aug 10, 2018 · 2 comments
Open

Preserve the text range after cellIn after xmlSetValue #178

bvw opened this issue Aug 10, 2018 · 2 comments

Comments

@bvw
Copy link
Member

bvw commented Aug 10, 2018

Currently the textrange is collapsed to the end of the range after xmlSetValues

@daniel-qcode daniel-qcode changed the title Preserve the text range after cellIn after SaveReturn Preserve the text range after cellIn after xmlSetValue Aug 10, 2018
@daniel-qcode
Copy link
Member

I think something like this would work but needs more testing:

dbRow.js:
image

dbCell.js:
image

dbEditorText.js: (all other editors would need to be updated to support new getTextRange method too)
image

@daniel-qcode
Copy link
Member

Port this change to preserve text selection into latest qcode-ui: https://github.com/qcode-software/tlc-erp/pull/1737

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants