Bounded, deduplicated live selector names collected without splitting whole class attributes. More...
#include "donner/editor/XmlAutocomplete.h"
Classes | |
| struct | Limits |
| Independent count and retained-text limits shared by classes and IDs. More... | |
Public Member Functions | |
| XmlAutocompleteSelectorCatalog (Limits limits) | |
| void | addClassList (std::string_view classList) |
| Stream whitespace-separated class names into the bounded catalog. | |
| void | addId (std::string_view id) |
| Add one non-empty ID to the bounded catalog. | |
| void | finish () |
| Sort retained names for deterministic suggestions. | |
| bool | full () const |
| True once either shared limit prevents collecting another distinct value. | |
| std::span< const std::string > | classNames () const |
| Sorted class names without a leading dot. | |
| std::span< const std::string > | ids () const |
| Sorted IDs without a leading hash. | |
Bounded, deduplicated live selector names collected without splitting whole class attributes.
| struct donner::editor::XmlAutocompleteSelectorCatalog::Limits |
Independent count and retained-text limits shared by classes and IDs.