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::TextTool::SelectionRange Struct Reference

Normalized logical text range, with start inclusive and end exclusive. Newline code points participate in the logical range even though they do not produce highlight geometry. More...

#include "donner/editor/TextTool.h"

Public Member Functions

bool operator== (const SelectionRange &other) const =default
 Compare all members for value equality.

Public Attributes

std::size_t start = 0
 Inclusive start of the logical text range.
std::size_t end = 0
 Exclusive end of the logical text range.

Detailed Description

Normalized logical text range, with start inclusive and end exclusive. Newline code points participate in the logical range even though they do not produce highlight geometry.

Member Function Documentation

◆ operator==()

bool donner::editor::TextTool::SelectionRange::operator== ( const SelectionRange & other) const
default

Compare all members for value equality.

Parameters
otherValue to compare.

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