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

move cursor programmatically? #76

Open
stevepowell99 opened this issue Jul 18, 2020 · 1 comment
Open

move cursor programmatically? #76

stevepowell99 opened this issue Jul 18, 2020 · 1 comment

Comments

@stevepowell99
Copy link

Hi it seems that updateAceEditor does not allow the cursor to be moved programatically. It would be nice to be able to do:

updateAceEditor(session,"myEditor",cursorRow=79) 

to move the cursor to row 79. Is this possible?

@vnijs
Copy link
Collaborator

vnijs commented Jul 20, 2020

It looks like ace editor has a firstLineNumber option so this should be possible. Happy to review a PR for this feature

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