Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
donner::xml::XMLSourceDelta Struct Reference

Describes one applied source edit. More...

#include "donner/base/xml/XMLSourceStore.h"

Public Member Functions

bool operator== (const XMLSourceDelta &other) const =default
 Equality operator.

Public Attributes

std::size_t offset = 0
 Start byte offset of the edit.
std::size_t removedLength = 0
 Number of bytes removed from the old source.
std::size_t insertedLength = 0
 Number of bytes inserted into the new source.
std::uint64_t sourceVersion = 0
 Source version after the edit was applied.

Detailed Description

Describes one applied source edit.


The documentation for this struct was generated from the following file: