Skip to content
This repository was archived by the owner on Dec 24, 2025. It is now read-only.
This repository was archived by the owner on Dec 24, 2025. It is now read-only.

Notepad: Improved Synchronous editing and typing #1798

@MaxVMoons

Description

@MaxVMoons

Improved the updating of the document so that when a user receives an update, what they have typed does not disappear. However, when multiple people edit/type in the same spot, it will take the latest edit(s)/typed character(s) and replace the earlier ones.

Currently found problems:
Two people pasting an image within a single update, no negative effect on the rest of the document, it will keep the earlier pasted picture and location.
Two people abusively using line affecting buttons (picture attached) on the same line within a single update, sometimes will work correctly and other times the sync will delete one of the button presses.
image
Two people using the bold, italics, underline, or strikethrough (and assumingly other character specific button edits) on overlapping characters within a single update, only one of the edits goes through and seemingly randomly either one, no negative effect on non-selected parts of the document.
If someone deletes characters where (and past where) someone else has their cursor, then the second person's cursor will go further back than necessary.

Multiple people typing a lot at the same time needs to be tested.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions