One source-backed style contribution and its source-editor annotation metadata. More...
#include "donner/editor/StyleSourceAnnotations.h"
Public Attributes | |
| std::size_t | id = 0 |
| Stable id within a single annotation computation. | |
| SourceByteRange | sourceRange |
| Source range of the declaration, attribute, or referenced resource element. | |
| SourceByteRange | chipRange |
| Source range whose end anchors the selector chip. | |
| std::string | propertyName |
| CSS property name, or the resource tag name for a referenced resource element. | |
| StyleContributionKind | kind = StyleContributionKind::StylesheetDeclaration |
| Category of the source annotation. | |
| bool | effective |
| True for a winning style contribution or a resource with at least one reference. | |
| bool | showChip |
| True when a selector-match or resource-reference count chip should be shown. | |
| int | matchedElementCount = 0 |
| Matched-element count, or total fragment-reference count for a resource element. | |
| bool | showOverflowMarker = false |
| True when a chip should show an overflow marker. | |
| std::vector< svg::SVGElement > | matchedElements |
| Live matched or referencing elements while the document is available. | |
| 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.
| SourceByteRange donner::editor::StyleSourceContribution::chipRange |
Source range whose end anchors the selector chip.
| std::string donner::editor::StyleSourceContribution::chipTooltip |
Tooltip for the selector match-count chip.
| bool donner::editor::StyleSourceContribution::effective |
True for a winning style contribution or a resource with at least one reference.
| std::size_t donner::editor::StyleSourceContribution::id = 0 |
Stable id within a single annotation computation.
| StyleContributionKind donner::editor::StyleSourceContribution::kind = StyleContributionKind::StylesheetDeclaration |
Category of the source annotation.
| int donner::editor::StyleSourceContribution::matchedElementCount = 0 |
Matched-element count, or total fragment-reference count for a resource element.
| std::vector<svg::SVGElement> donner::editor::StyleSourceContribution::matchedElements |
Live matched or referencing elements while the document is available.
| std::string donner::editor::StyleSourceContribution::overflowTooltip |
Tooltip for the overflow marker.
| std::string donner::editor::StyleSourceContribution::propertyName |
CSS property name, or the resource tag name for a referenced resource element.
| bool donner::editor::StyleSourceContribution::showChip |
True when a selector-match or resource-reference count chip should be shown.
| bool donner::editor::StyleSourceContribution::showOverflowMarker = false |
True when a chip should show an overflow marker.
| SourceByteRange donner::editor::StyleSourceContribution::sourceRange |
Source range of the declaration, attribute, or referenced resource element.
| std::string donner::editor::StyleSourceContribution::tooltip |
Tooltip for the source range.