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

Programatically get line the user is typing on? #559

Closed
coreh opened this issue Mar 14, 2012 · 1 comment
Closed

Programatically get line the user is typing on? #559

coreh opened this issue Mar 14, 2012 · 1 comment
Labels

Comments

@coreh
Copy link

coreh commented Mar 14, 2012

Just wondering, is there an easy way to get the line the user is currently editing from say, the context of /static/custom/pad.js?

I tryied searching around the code to find some method that would give me this information, but I couldn't find it.

Thanks!

@Pita
Copy link
Contributor

Pita commented Mar 14, 2012

search for getselection, I guess in ace2_inner.js

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

No branches or pull requests

3 participants