One source-backed style contribution and its source-editor annotation metadata.
More...
#include "donner/editor/StyleSourceAnnotations.h"
|
|
std::size_t | id = 0 |
| | Stable id within a single annotation computation.
|
|
SourceByteRange | sourceRange |
|
SourceByteRange | chipRange |
| | Source range whose end anchors the selector chip.
|
|
std::string | propertyName |
|
StyleContributionKind | kind = StyleContributionKind::StylesheetDeclaration |
|
bool | effective = false |
| | True when this contribution wins for at least one element.
|
|
bool | showChip = false |
| | True when a selector match-count chip should be shown.
|
|
int | matchedElementCount = 0 |
|
bool | showOverflowMarker = false |
| | True when a chip should show an overflow marker.
|
|
std::vector< svg::SVGElement > | matchedElements |
|
std::string | tooltip |
| | Tooltip for the source range.
|
|
std::string | chipTooltip |
| | Tooltip for the selector match-count chip.
|
|
std::string | overflowTooltip |
| | Tooltip for the overflow marker.
|
One source-backed style contribution and its source-editor annotation metadata.
◆ chipRange
Source range whose end anchors the selector chip.
◆ chipTooltip
| std::string donner::editor::StyleSourceContribution::chipTooltip |
Tooltip for the selector match-count chip.
◆ effective
| bool donner::editor::StyleSourceContribution::effective = false |
True when this contribution wins for at least one element.
◆ id
| std::size_t donner::editor::StyleSourceContribution::id = 0 |
Stable id within a single annotation computation.
◆ kind
◆ matchedElementCount
| int donner::editor::StyleSourceContribution::matchedElementCount = 0 |
◆ matchedElements
| std::vector<svg::SVGElement> donner::editor::StyleSourceContribution::matchedElements |
◆ overflowTooltip
| std::string donner::editor::StyleSourceContribution::overflowTooltip |
Tooltip for the overflow marker.
◆ propertyName
| std::string donner::editor::StyleSourceContribution::propertyName |
◆ showChip
| bool donner::editor::StyleSourceContribution::showChip = false |
True when a selector match-count chip should be shown.
◆ showOverflowMarker
| bool donner::editor::StyleSourceContribution::showOverflowMarker = false |
True when a chip should show an overflow marker.
◆ sourceRange
◆ tooltip
| std::string donner::editor::StyleSourceContribution::tooltip |
Tooltip for the source range.
The documentation for this struct was generated from the following file: