-
Notifications
You must be signed in to change notification settings - Fork 11
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
Expose keywords of chosen "brush" #25
Comments
That plugin would need to emit an event to hook into it. The usual etherpad way is to be really inefficient and process the same task twice! |
Also a new hook would be welcome if that works! |
Thanks for the info!
Does ep_autocomplete need the hook or ep_syntaxhighlighting? I assume the best architecture would be having some kind of "backend" component which checks the text for changes and than triggers both the highlighting and the autocompletion – is that along the right lines? (Though I got the autocomplete working I’m not very much into the more advanced workings of Etherpads plugin API…) |
Yea I'd expect the hook would go into Etherpad |
Is there any way to access the content of the chosen highlighting scheme aka the "brushes"?
I wrote an Autocomplete-Plugin for Etherpad and it would be great to access ep_syntaxhighlighting’s keyword list and the like to avoid code repetition and to play nicely with the ep_syntaxhighlighting.
The text was updated successfully, but these errors were encountered: