react-client icon indicating copy to clipboard operation
react-client copied to clipboard

focus line pushed

Open shaozi opened this issue 5 years ago • 1 comments

When a user's cursor is on a line, say line 100, and another user insert lines before that, the user's view will be pushed down. Normally this is not an issue, but when the other user insert a lot of lines, the first user's focused line will be pushed out of the bottom of the view.

It should maintain the view to make sure the focused line for each user does not jump / shift. By adjust the scroll position of the view. So no matter what other user editing, each user will not see jump of lines.

shaozi avatar May 21 '20 18:05 shaozi

Maybe we should implement it so, that by default you follow your own cursor (see #281)

DerMolly avatar Jan 07 '21 18:01 DerMolly