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

Scroll to <mark> #22

Open
kurtknippschild opened this issue Dec 9, 2017 · 3 comments
Open

Scroll to <mark> #22

kurtknippschild opened this issue Dec 9, 2017 · 3 comments

Comments

@kurtknippschild
Copy link

hi,

i have a textarea with a long long text.
Is there a function that after the highlighting direct scroll to the first word that he found?
bildschirmfoto 2017-12-09 um 09 06 24

Thanks in advance.
Kurt

@lonekorean
Copy link
Owner

There is not currently, but I can see a need for it. Or at least exposing information about where highlights are so it's easy to add such functionality. Thanks!

@LoganDark
Copy link

Or, yanno, allow us to call a function on each mark the script creates so we can add an ID to the first, or really do whatever we want.

@LoganDark
Copy link

Callback support is implemented in #29

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

3 participants