#include "third_party/blink/renderer/core/editing/plain_text_range.h"
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/core/dom/container_node.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/range.h"
#include "third_party/blink/renderer/core/editing/ephemeral_range.h"
#include "third_party/blink/renderer/core/editing/iterators/text_iterator.h"
#include "third_party/blink/renderer/core/editing/visible_position.h"
#include "third_party/blink/renderer/core/editing/visible_units.h"
namespace blink {
PlainTextRange::PlainTextRange() : … { … }
PlainTextRange::PlainTextRange(const PlainTextRange&) = default;
PlainTextRange::PlainTextRange(wtf_size_t location)
: … { … }
PlainTextRange::PlainTextRange(wtf_size_t start, wtf_size_t end)
: … { … }
EphemeralRange PlainTextRange::CreateRange(const ContainerNode& scope) const { … }
EphemeralRange PlainTextRange::CreateRangeForSelection(
const ContainerNode& scope) const { … }
EphemeralRange PlainTextRange::CreateRangeForSelectionIndexing(
const ContainerNode& scope) const { … }
static Position CreatePositionInTextRun(wtf_size_t offset_in_run,
const Position& text_run_start_position,
const Position& text_run_end_position) { … }
EphemeralRange PlainTextRange::CreateRangeFor(
const ContainerNode& scope,
const TextIteratorBehavior& behavior) const { … }
PlainTextRange PlainTextRange::Create(const ContainerNode& scope,
const EphemeralRange& range) { … }
PlainTextRange PlainTextRange::Create(const ContainerNode& scope,
const Range& range) { … }
CORE_EXPORT std::ostream& operator<<(std::ostream& ostream,
const PlainTextRange& range) { … }
}