#include "third_party/blink/renderer/core/editing/commands/insert_text_command.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/text.h"
#include "third_party/blink/renderer/core/editing/commands/delete_selection_options.h"
#include "third_party/blink/renderer/core/editing/commands/editing_commands_utilities.h"
#include "third_party/blink/renderer/core/editing/editing_utilities.h"
#include "third_party/blink/renderer/core/editing/editor.h"
#include "third_party/blink/renderer/core/editing/relocatable_position.h"
#include "third_party/blink/renderer/core/editing/selection_template.h"
#include "third_party/blink/renderer/core/editing/visible_position.h"
#include "third_party/blink/renderer/core/editing/visible_units.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/html/html_span_element.h"
namespace blink {
InsertTextCommand::InsertTextCommand(Document& document,
const String& text,
RebalanceType rebalance_type)
: … { … }
String InsertTextCommand::TextDataForInputEvent() const { … }
Position InsertTextCommand::PositionInsideTextNode(
const Position& p,
EditingState* editing_state) { … }
void InsertTextCommand::SetEndingSelectionWithoutValidation(
const Position& start_position,
const Position& end_position) { … }
bool InsertTextCommand::PerformTrivialReplace(const String& text) { … }
void InsertTextCommand::DoApply(EditingState* editing_state) { … }
Position InsertTextCommand::InsertTab(const Position& pos,
EditingState* editing_state) { … }
}