-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Multiple cursors and selections for collab OT editing? #340
Comments
This is already possible with markers. I will write a small example of how to do it. Check the addMarker API https://github.com/ajaxorg/ace/blob/master/lib/ace/edit_session.js#L316. Make sure to set 'front' to 'true' and as type you can pass in a function, which generates the markup for the marker. |
Thanks, i succesfully added somewhat of a remote cursor(still bit buggy, but ill try to improve that later) using addMarker. Source is at http://hwios.org/media/scripts/lib/jquery/jquery.jinfinote.js . Only problem i seem to have is that it won't render on the current line marker. Any idea if that has to do with the order of rendering? collab ace editor for hwios can be found at http://hwios.org/hyki/main/edit/ . Needs to be logged in to change anything to the server document though. |
Multiple cursors is in Ace, as of maybe two months ago. Closing this. |
I'm currently using ace to make a collaborative wiki editor using jinfinote and py-infinote. I was wondering whether ace could support multiple cursors and selections, so the editing experience gets more interactive.
@Gissues:{"order":62.732919254658555,"status":"backlog"}
The text was updated successfully, but these errors were encountered: