A string that has associated attributes (such as visual style, hyperlinks, or accessibility data) for...
Definition AttributedString.hpp:40
void setAttribute(const CharRange &range, T &&attribute)
String string
The character contents of the attributed string as an String object.
Definition AttributedString.hpp:44
const T & getAttribute(const UInt32 &charIdx) const
AttributedString(String string)
HashMap< String, int > attributes
Definition AttributedString.hpp:46
Definition Application.hpp:19
auto range()
Returns an iterator that increases it's value from 0 to end by 1 for each step.
Definition Iterator.hpp:350
int CharRange
Definition AttributedString.hpp:17
std::unordered_map< Key, T, Hash, KeyEqual, ScopedAllocatorAdaptor< StdAllocator< Pair< const Key, T >, RawAllocator > > > HashMap
HashMap is an associative container that contains key-value pairs with unique keys.
Definition Map.hpp:33
std::uint32_t UInt32
Definition DataTypes.hpp:23
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25