Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::design::EditBlockSpan Struct Reference

Where the block sits in the host text, as byte offsets. More...

#include <design_tweaks.hpp>

Public Attributes

size_t block_begin = 0
 offset of the first byte of kEditBlockBegin
size_t block_end = 0
 offset one past the last byte of kEditBlockEnd
size_t payload_begin = 0
 offset of the first byte of the JSON payload
size_t payload_end = 0
 offset one past the last byte of the JSON payload

Detailed Description

Where the block sits in the host text, as byte offsets.

payload_* bound the JSON object between the markers (excluding the markers themselves); block_* bound the whole marker-delimited span (including both markers).

Member Data Documentation

◆ block_begin

size_t pulp::design::EditBlockSpan::block_begin = 0

offset of the first byte of kEditBlockBegin

◆ block_end

size_t pulp::design::EditBlockSpan::block_end = 0

offset one past the last byte of kEditBlockEnd

◆ payload_begin

size_t pulp::design::EditBlockSpan::payload_begin = 0

offset of the first byte of the JSON payload

◆ payload_end

size_t pulp::design::EditBlockSpan::payload_end = 0

offset one past the last byte of the JSON payload


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