TextRange Class

(Core::Search::TextRange)

Public Functions

TextRange() = default
TextRange(TextPosition begin, TextPosition end)
int endLineOffsetDifference() const
int length() const
QString mid(const QString &text) const

Member Function Documentation

[default] TextRange::TextRange()

Default constructs an instance of TextRange.

TextRange::TextRange(TextPosition begin, TextPosition end)

Default constructs an instance of TextRange.

int TextRange::endLineOffsetDifference() const

int TextRange::length() const

QString TextRange::mid(const QString &text) const