#include "third_party/blink/renderer/core/editing/markers/sorted_document_marker_list_editor.h"
#include <algorithm>
#include "base/numerics/safe_conversions.h"
#include "third_party/blink/renderer/core/editing/markers/spell_check_marker_list_impl.h"
namespace blink {
void SortedDocumentMarkerListEditor::AddMarkerWithoutMergingOverlapping(
MarkerList* list,
DocumentMarker* marker) { … }
bool SortedDocumentMarkerListEditor::MoveMarkers(MarkerList* src_list,
int length,
DocumentMarkerList* dst_list) { … }
bool SortedDocumentMarkerListEditor::RemoveMarkers(MarkerList* list,
unsigned start_offset,
int length) { … }
bool SortedDocumentMarkerListEditor::ShiftMarkersContentDependent(
MarkerList* list,
unsigned offset,
unsigned old_length,
unsigned new_length) { … }
bool SortedDocumentMarkerListEditor::ShiftMarkersContentIndependent(
MarkerList* list,
unsigned offset,
unsigned old_length,
unsigned new_length) { … }
DocumentMarker* SortedDocumentMarkerListEditor::FirstMarkerIntersectingRange(
const MarkerList& list,
unsigned start_offset,
unsigned end_offset) { … }
HeapVector<Member<DocumentMarker>>
SortedDocumentMarkerListEditor::MarkersIntersectingRange(const MarkerList& list,
unsigned start_offset,
unsigned end_offset) { … }
}