Fixing AceEditor cursor position not to move top left when others are editting#1049
Fixing AceEditor cursor position not to move top left when others are editting#1049yoshiokatsuneo wants to merge 1 commit intojsfiddle:developfrom
Conversation
… editting. On AceEditor, when one made any change on the editor, other people's cursor position always move to top left position. This fix the issue by keeping cursor position when other people is editting.
|
+1. I have this exact problem and I would love to see this change merged. Thank you for submitting a fix for this! |
|
Hi @ianb - apologies to link you into this thread out of the blue, but would you mind taking a look at this pull request? Thanks in advance! And thanks for togetherjs - totally awesome. :) |
|
Hey @benjii, do you have a test or at least a sample integration that this can be tested with? |
|
Hi @simonwex - thank you for your reply. I regret to say that I don't have a test that can replicate this bug against the mainline codebase. However, I can demonstrate this bug via the web app that I am building. [As an aside, it is a web app for conceptualising software - it uses PogoScript as the declarative language]. The replication steps are as follows;
Play with this if you like - as you specify additional concepts (and 'has one' and 'has many' relationships) the diagram will update, thus demonstrating your conceptual model graphically. The (Alleged) Bug This does not prevent any other user from re-positioning the cursor and applying subsequent edits - it's just a minor inconvenience really. I hope that answers your query? If not please do get in touch again. Thanks and regards, PS: This is running on a single Heroku dyno at the moment, so it'll take a while to spin up (and might be a bit sluggish!). PPS: Thanks again for TogetherJS - awesome tool! |
|
Hey @benjii I'm certainly seeing that bug. I'll try to merge it this weekend. |
|
@simonwex So, is this merged ? |
|
@yoshiokatsuneo sorry for the delay. Let me take a look this week and merge it |
On AceEditor, when one made any change on the editor, other people's cursor
position always move to top left position. This fix the issue by keeping
cursor position when other people is editting.