#include "third_party/blink/renderer/core/editing/markers/overlapping_document_marker_list_editor.h"
#include "base/ranges/algorithm.h"
#include "third_party/blink/renderer/core/editing/markers/spell_check_marker_list_impl.h"
namespace blink {
void OverlappingDocumentMarkerListEditor::AddMarker(
MarkerList* list,
DocumentMarker* marker) { … }
bool OverlappingDocumentMarkerListEditor::MoveMarkers(
MarkerList* src_list,
int length,
DocumentMarkerList* dst_list) { … }
bool OverlappingDocumentMarkerListEditor::RemoveMarkers(MarkerList* list,
unsigned start_offset,
int length) { … }
bool OverlappingDocumentMarkerListEditor::ShiftMarkers(
MarkerList* list,
unsigned offset,
unsigned old_length,
unsigned new_length) { … }
HeapVector<Member<DocumentMarker>>
OverlappingDocumentMarkerListEditor::MarkersIntersectingRange(
const MarkerList& list,
unsigned start_offset,
unsigned end_offset) { … }
}