setOtherCursor call behaviour different in monaco and ace #79
Locked
lakbychance
started this conversation in
Bug Report
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
setOtherCursor
method oface-adapter.ts
is called on both the current user and remote user when current user is typing on same line as remote user. If they are on different line, only when remote user typessetOtherCursor
gets called on current user. While in case ofmonaco-adapter.ts
,setOtherCursor
method is only called when the remote user is typing.To Reproduce
You can set a
console.log(...)
insidesetOtherCursor
method oface-adapter.ts
andmonaco-adapter.ts
to verify the behavior with two different client sessions.Expected behavior
Have little knowhow here. But the diverging behavior between two implementations is the main concern.
Desktop :
OS: macOS
Browser Chrome
Additional context
This behavior should be addressed on priority because cursor/selection and tooltip implementation depends on
setOtherCursor
call done right.Beta Was this translation helpful? Give feedback.
All reactions