Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::TextEditor::SourceStructuralMoveDecoration Struct Reference

Source structural-drag decoration supplied by the editor shell. More...

#include "donner/editor/TextEditor.h"

Public Member Functions

bool operator== (const SourceStructuralMoveDecoration &) const =default
 Compare all structural-move decoration fields.

Public Attributes

SourceByteRange elementRange
 Source bytes occupied by the moving element.
std::size_t insertionOffset = 0
 Proposed insertion byte offset.
bool valid = false
 Whether the proposed move is valid.
std::string message
 Message shown for an invalid move.

Detailed Description

Source structural-drag decoration supplied by the editor shell.


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