void set_base(size_t pos)
TextRange(size_t position)
void set_start(size_t pos)
void set_extent(size_t pos)
TextRange(size_t base, size_t extent)
bool Contains(size_t position) const
bool operator==(const TextRange &other) const
virtual ~TextRange()=default
bool Contains(const TextRange &range) const
TextRange & operator=(const TextRange &)=default