Skip to content

Format needs documentation #6

@Daniel15

Description

@Daniel15

Hello!

This project is a really interesting idea! I'm trying to write server-side implementations in C# (ASP.NET Core) and PHP, but am having trouble working out the exact format of the delta.

As shown in deltaCalculator.js, going from "this is some test. blah blah blah" to "this is other text. blah blah blah" results in this delta:

§8-1§2-1§1+th§3+r§4-1§1+x

In the 1+th segment, what does the "1" represent? Does it mean that the addition is offset from the previous removal by one character? Is the offset from the start of the previous substring, or the end? It would be good to write a simple spec for other people wanting to implement the same protocol.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions