Everything you need to do this should be available with the notable exception of the Selection API (https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection), which would allow you to manipulate the cursor and selected text programatically.
-- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.