#include "third_party/blink/renderer/core/editing/visible_units.h"
#include "third_party/blink/renderer/core/editing/editing_utilities.h"
#include "third_party/blink/renderer/core/editing/ephemeral_range.h"
#include "third_party/blink/renderer/core/editing/text_segments.h"
#include "third_party/blink/renderer/core/editing/visible_position.h"
#include "third_party/blink/renderer/platform/text/text_break_iterator.h"
namespace blink {
namespace {
PositionInFlatTree PreviousSentencePositionInternal(
const PositionInFlatTree& position) { … }
PositionInFlatTree StartOfSentenceInternal(const PositionInFlatTree& position) { … }
PositionInFlatTree EndOfSentenceInternal(
const PositionInFlatTree& position,
SentenceTrailingSpaceBehavior space_behavior =
SentenceTrailingSpaceBehavior::kIncludeSpace) { … }
PositionInFlatTree NextSentencePositionInternal(
const PositionInFlatTree& position) { … }
}
PositionInFlatTreeWithAffinity EndOfSentence(
const PositionInFlatTree& start,
SentenceTrailingSpaceBehavior space_behavior) { … }
PositionWithAffinity EndOfSentence(
const Position& start,
SentenceTrailingSpaceBehavior space_behavior) { … }
VisiblePosition EndOfSentence(const VisiblePosition& c,
SentenceTrailingSpaceBehavior space_behavior) { … }
VisiblePositionInFlatTree EndOfSentence(
const VisiblePositionInFlatTree& c,
SentenceTrailingSpaceBehavior space_behavior) { … }
EphemeralRange ExpandEndToSentenceBoundary(const EphemeralRange& range) { … }
EphemeralRange ExpandRangeToSentenceBoundary(const EphemeralRange& range) { … }
PositionInFlatTree NextSentencePosition(const PositionInFlatTree& start) { … }
Position NextSentencePosition(const Position& start) { … }
PositionInFlatTree PreviousSentencePosition(
const PositionInFlatTree& position) { … }
Position PreviousSentencePosition(const Position& position) { … }
PositionInFlatTree StartOfSentencePosition(const PositionInFlatTree& position) { … }
Position StartOfSentencePosition(const Position& position) { … }
}