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

Allow moving the cursor to a specified position #37

Open
amlajmi opened this issue Dec 10, 2016 · 2 comments
Open

Allow moving the cursor to a specified position #37

amlajmi opened this issue Dec 10, 2016 · 2 comments

Comments

@amlajmi
Copy link
Contributor

amlajmi commented Dec 10, 2016

A Java method to automatically position the cursor would be great (issue n°6 reported in #32)

@amlajmi amlajmi changed the title Allow moving the cursor to a specified line number Allow moving the cursor to a specified position Dec 10, 2016
@jabiercoding
Copy link
Contributor

Maybe this is already supported with the recent setSelection method of BasicText.java

@ulrichobjectsecurity
Copy link

Quick feedback: I just tried setSelection after setting the text but the cursor does not move there. It does something through because if I set values larger than the text string, it complains. (P.S. I'm still on DSLforge 0.9)

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

No branches or pull requests

3 participants