JohnMcLear / ep_scrollto

Scroll to a specific line number by passing a parameter to Etherpad
Apache License 2.0
2 stars 3 forks source link

Place cursor into selected line #4

Open rugk opened 8 years ago

rugk commented 8 years ago

It would be nice if the cursor could automatically be placed into the selected line, so when the user starts typing after using such a URL it automatically types into the correct line.

JohnMcLear commented 8 years ago

Try using this logic: https://github.com/JohnMcLear/ep_context/blob/master/static/js/index.js#L208

In theory it's doable. I'm available as a gun for hire if you want to fund this you could create a bounty